aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobin <robin.prillwitz@gmail.com>2023-04-19 13:33:53 +0200
committerGitHub <noreply@github.com>2023-04-19 13:33:53 +0200
commit5b64ccfdeee6c75f70487c1ea153ec3e1fb26cd1 (patch)
tree630bad1b62bafad03a9062feb6df1f9c04f8447c
parent7a71af5845b0789d2a8169336d0e07a4c27beb1d (diff)
downloadghdl-yosys-plugin-master.tar.gz
ghdl-yosys-plugin-master.tar.bz2
ghdl-yosys-plugin-master.zip
fixed VLO/VHI primitves (#185)HEADmaster
-rw-r--r--library/wrapper/primitives.v18
1 files changed, 9 insertions, 9 deletions
diff --git a/library/wrapper/primitives.v b/library/wrapper/primitives.v
index 95edf7a..c93ae11 100644
--- a/library/wrapper/primitives.v
+++ b/library/wrapper/primitives.v
@@ -1,13 +1,13 @@
`timescale 1 ns / 1 ps
-module vhi ( z );
- output z ;
- supply1 VSS;
- buf (z , VSS);
-endmodule
+module VHI ( Z );
+ output Z ;
+ supply1 VDD;
+ buf (Z , VDD);
+endmodule
-module vlo ( z );
- output z;
- supply1 VSS;
- buf (z , VSS);
+module VLO ( Z );
+ output Z;
+ supply0 VSS;
+ buf (Z , VSS);
endmodule