mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-03 05:56:07 +00:00
[core] add rf techlibs
This commit is contained in:
parent
54f8505045
commit
d7cf53d86a
49 changed files with 34443 additions and 0 deletions
15
techlibs/rapidflex/alkaidL/cell_sim_arith.v
Normal file
15
techlibs/rapidflex/alkaidL/cell_sim_arith.v
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
//---------------------------------------
|
||||
// 1-bit adder
|
||||
//---------------------------------------
|
||||
(* abc9_box, lib_whitebox *)
|
||||
module _fpga_adder(
|
||||
output sumout,
|
||||
output cout,
|
||||
input a,
|
||||
input b,
|
||||
input cin
|
||||
);
|
||||
assign sumout = a ^ b ^ cin;
|
||||
assign cout = (a & b) | ((a | b) & cin);
|
||||
|
||||
endmodule
|
||||
Loading…
Add table
Add a link
Reference in a new issue