Forum Discussion
Altera_Forum
Honored Contributor
7 years agoHi,
I have built the 8-bit Counter design in Qsys and tried to add the BD design in Quartus. Then through the c code i thought to initialize the counter in NIOS processor. I am using CYCLONE V FPGA, and Quartus Prime edition. But in Block design, output [7:0] port is missing. Please anyone guide me in this task i dont know where i am making mistake.
module Eight_counter (
out , // Output of the counter
clk , // clock Input
);
input clk;
output out;
reg out=0;
//-- Sensitive to rising edge
always @(posedge clk) begin
//-- Incrementar el registro
out <= out + 1;
end
endmodule As above code, i have built the qip system and generated the qsys component. https://www.alteraforum.com/forum/attachment.php?attachmentid=15670