mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-30 07:53:16 +00:00
intel_alm: Add IO buffer insertion
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
3421979f00
commit
5dba138c87
19 changed files with 166 additions and 46 deletions
12
techlibs/intel_alm/common/misc_sim.v
Normal file
12
techlibs/intel_alm/common/misc_sim.v
Normal file
|
@ -0,0 +1,12 @@
|
|||
module MISTRAL_IB((* iopad_external_pin *) input PAD, output O);
|
||||
assign O = PAD;
|
||||
endmodule
|
||||
|
||||
module MISTRAL_OB((* iopad_external_pin *) output PAD, input I);
|
||||
assign PAD = I;
|
||||
endmodule
|
||||
|
||||
module MISTRAL_IO((* iopad_external_pin *) inout PAD, input I, input OE, output O);
|
||||
assign PAD = OE ? I : 1'bz;
|
||||
assign O = PAD;
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue