Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

Is it a synthesizable verilog coding?

Altera_Forum
Honored Contributor II
1,369 Views

I delete it.

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
556 Views

In that particular example it *should* be fine, because it is effectively equivalent to: 

 

wire rst_n = !(B & C); always @ (posedge A or negedge rst_n) begin if(~rst_n) begin E <= 0; end else if (D) begin E <= F; end end  

 

A is still used as the clock, and D is used as a clock enable.
0 Kudos
Altera_Forum
Honored Contributor II
556 Views

 

--- Quote Start ---  

In that particular example it *should* be fine, because it is effectively equivalent to: 

 

wire rst_n = !(B & C); always @ (posedge A or negedge rst_n) begin if(~rst_n) begin E <= 0; end else if (D) begin E <= F; end end  

 

A is still used as the clock, and D is used as a clock enable. 

--- Quote End ---  

 

 

Thank you. 

 

After post this, I try use Quartus "Technology Map Viewer", and it give me the answer. 

 

Thank you anyway, you're very kind.
0 Kudos
Reply