📄 genverilog_rules.txt
字号:
This file contains general rules for how the SystemC code should be written in order for thesysc2ver.py program to run correctly. One of the goals of this development is to eliminateas many of these rules as possible.Header file rules: No blank line after SC_Module and I/O list One blank line seperating I/O list and register list There must be at least one reg entry (add sc_uint<1> dummy; if none). } at end of constructor should be on line by itself edge for reset should be the same direction as for the clock expection at least one local variable, if not define sc_uint<1> dummy;Method file rules: Method declaration ("void file::method()") should have { on next line only one mnuemonic constant per line no new variable defintions within method no logical = comparisons in clocked logic (0 ..) mapps to {3'b000 ..} if .range() is used in a compound boolean expression, put each expression on a seperate line.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -