mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Add $specrule cells for $setup/$hold/$skew specify rules
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
634482380c
commit
71c38d9de5
9 changed files with 133 additions and 6 deletions
|
@ -1417,6 +1417,34 @@ endmodule
|
|||
|
||||
// --------------------------------------------------------
|
||||
|
||||
module \$specrule (EN_SRC, EN_DST, SRC, DST);
|
||||
|
||||
parameter SRC_WIDTH = 1;
|
||||
parameter DST_WIDTH = 1;
|
||||
|
||||
parameter SRC_PEN = 0;
|
||||
parameter SRC_POL = 0;
|
||||
|
||||
parameter DST_PEN = 0;
|
||||
parameter DST_POL = 0;
|
||||
|
||||
parameter LIMIT_GT = 0;
|
||||
parameter T_LIMIT = 0;
|
||||
|
||||
input EN_SRC, EN_DST;
|
||||
input [SRC_WIDTH-1:0] SRC;
|
||||
input [DST_WIDTH-1:0] DST;
|
||||
|
||||
`ifdef SIMLIB_SPECIFY
|
||||
specify
|
||||
// TBD
|
||||
endspecify
|
||||
`endif
|
||||
|
||||
endmodule
|
||||
|
||||
// --------------------------------------------------------
|
||||
|
||||
module \$assert (A, EN);
|
||||
|
||||
input A, EN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue