aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPepijn de Vos <pepijndevos@gmail.com>2019-09-04 10:58:48 +0200
committerPepijn de Vos <pepijndevos@gmail.com>2019-09-04 11:01:28 +0200
commit072367245184528de0907f48ed45af79901d93eb (patch)
treecbb8abe17af3f778d6c8520d7c9a510990d0b510 /examples
parent6cf5157fe7a8f4299a002f1be6c95ba5507a2cd4 (diff)
downloadyosys-072367245184528de0907f48ed45af79901d93eb.tar.gz
yosys-072367245184528de0907f48ed45af79901d93eb.tar.bz2
yosys-072367245184528de0907f48ed45af79901d93eb.zip
Add demonstration of breakage
Unused outputs lead to undriven buffers, which lead to syntax errors.
Diffstat (limited to 'examples')
-rw-r--r--examples/gowin/demo.v1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/gowin/demo.v b/examples/gowin/demo.v
index 3cb782fa7..f5c001893 100644
--- a/examples/gowin/demo.v
+++ b/examples/gowin/demo.v
@@ -1,6 +1,7 @@
module demo (
input clk,
output [15:0] leds
+ //,output unused
);
localparam PRESCALE = 20;
reg [PRESCALE+3:0] counter = 0;