mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-05 23:05:47 +00:00
synth_quicklogic: rearrange files to prepare for adding more architectures
This commit is contained in:
parent
031ad38b5c
commit
e230a871be
20 changed files with 139 additions and 113 deletions
36
techlibs/quicklogic/common/cells_sim.v
Normal file
36
techlibs/quicklogic/common/cells_sim.v
Normal file
|
@ -0,0 +1,36 @@
|
|||
module inv (
|
||||
output Q,
|
||||
input A
|
||||
);
|
||||
assign Q = A ? 0 : 1;
|
||||
endmodule
|
||||
|
||||
module buff (
|
||||
output Q,
|
||||
input A
|
||||
);
|
||||
assign Q = A;
|
||||
endmodule
|
||||
|
||||
module logic_0 (
|
||||
output A
|
||||
);
|
||||
assign A = 0;
|
||||
endmodule
|
||||
|
||||
module logic_1 (
|
||||
output A
|
||||
);
|
||||
assign A = 1;
|
||||
endmodule
|
||||
|
||||
module gclkbuff (
|
||||
input A,
|
||||
output Z
|
||||
);
|
||||
specify
|
||||
(A => Z) = 0;
|
||||
endspecify
|
||||
|
||||
assign Z = A;
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue