|
You have module Clock_Generator.v
% {6 G4 H, z" t5 _with port input [31:0] key_value# k! A. g. H5 R( c' b: f
and you set a instance of
. z% h3 S9 q$ q* V" L( W6 {5 ukey_scan_jitter key_scan_jitter_inst% E9 x1 M% `5 P) Y5 M9 |( o
(3 N2 V; a+ f/ Y$ o$ y1 P- d) s
.clk(clk),9 ?& L& I* W/ m; G& s8 [7 ~8 r
.rst_n(rst_n),
' x& l8 X: X! N, O) {* g N .key_data(key_data),
+ r$ s/ s, [" ]) h4 M8 h0 d .key_flag(key_flag),
" [' j7 ~4 t3 M- z6 E/ v; Z .key_value(key_value): O* E$ q# I0 B. f& Z& _
);
1 E6 h/ C0 ]$ _3 O3 `3 ?In module key_scan_jitter.v
; i7 b' T; ^* H2 A9 R; y5 jyou have output[31:0] key_value
5 K/ F, f! E. B( N1 c& M h" N
- U- `. f9 K) a1 t1 a# I( FSo module have to source of key_value:& C! ]( {3 I/ y( p
1. From input port (may be 32 pins of chip)
1 f6 w+ K" \- a5 H4 ~2. From internal instance key_scan_jitter
/ |" p3 U8 w* ^) W0 |. H9 l* P J5 s V0 l1 x3 @
Altera can-t to do short circuit in your module.& u+ }. I9 a7 ?6 _/ u2 L
|
|