Altera_Forum
Honored Contributor
11 years agowhat does tri1, tri0
How tri1 and tri0 are implemented in quartus II. Can't understand results from synthesized code;
module main3 (cols,LEDG,rows) ; // ------------ Port declarations --------- // input tri0 [3:0] cols; output reg [3:0] rows; initial begin rows = 4'b1111; end // -------- Component instantiations -------// output wire [3:0] LEDG; assign LEDG = cols; endmodule Rows and cols are gpio pins which are floating, not connected to anything (GPIO_1 DE2 board). Result: LEDG[3:0] are lighting, how can cols have HIGH level when they should be pull downed? I can even turn off LEDG by touching one finger pins and other finger SD card metalic case on board which is grounded. So there are negligible voltage and no pull down I think. If there would be any pull down implemeted how should RTL schema look like ( I attach this code RTL schema).