mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-11 05:30:53 +00:00
fabulous: Allow adding extra custom prims and map rules
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
f111bbdf40
commit
b6467f0801
4 changed files with 53 additions and 0 deletions
3
tests/arch/fabulous/custom_map.v
Normal file
3
tests/arch/fabulous/custom_map.v
Normal file
|
@ -0,0 +1,3 @@
|
|||
module AND(input [7:0] A, B, output [7:0] Y);
|
||||
ALU #(.MODE("AND")) _TECHMAP_REPLACE_ (.A(A), .B(B), .Y(Y));
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue