In designing a circuit in verilog using top-down method, I can start from the behavior of a circuit followed by defining the details in every module to construct a structural circuit that is synthesizable. But how can I know if my code is synthesizable? Are there any guidelines to follow to support synthesis in verilog?
相关问题
- Using single ended port in logic expecting diff-pa
- Warning: (vsim-7) Failed to open readmem file “mem
- Evaluation Event Scheduling - Verilog Stratified E
- Evaluation Event Scheduling - Verilog Stratified E
- Which way is better writing a register path in Ver
相关文章
- ' << ' operator in verilog
- Why is Verilog not considered a programming langua
- Best way to access the uvm_config_db from the test
- Finding the next in round-robin scheduling by bit
- Verilog D-Flip-Flop not re-latching after asynchro
- VHDL “For” Loop Null Range
- What does |variable mean in verilog?
- Use of wire inside an always block?
Read the documentation that comes with whatever synthesis tool you are going to be using. This will show you what you can do - sometimes there are very specific ways you have to write code to get the intended results.
Ultimately though, there's nothing to beat experience - run your synthesiser over your code (or small parts of it) at regular intervals and see what the tool produces.
There is a 'standard', IEEE 1364.1 but as Martin pointed out each tool supports whatever it wants. I recommend the Xilinx XST User Guide if you need a free resource.
Also, structural verilog typically means you are creating description close to a netlist and the constructs you would use in this case are a small subset of those that are synthesizable.