mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
quicklogic: PolarPro 3 support
Co-authored-by: Grzegorz Latosiński <glatosinski@antmicro.com> Co-authored-by: Maciej Kurc <mkurc@antmicro.com> Co-authored-by: Tarachand Pagarani <tpagarani@quicklogic.com> Co-authored-by: Lalit Sharma <lsharma@quicklogic.com> Co-authored-by: kkumar23 <kkumar@quicklogic.com>
This commit is contained in:
parent
8740fdf1d7
commit
f4298b057a
20 changed files with 1033 additions and 0 deletions
36
techlibs/quicklogic/cells_sim.v
Normal file
36
techlibs/quicklogic/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