Altera_Forum
Honored Contributor
7 years agoHow to generate 32-bit Counter Values using NIOS II Processor?
Hi,
I am having Verilog code for 32-bit Counter Values, and also i know to compile in Quartus. But my actual requirement is, i need to implement the counter design from Quartus through NIOS interface. Please tell me how it is possible ? What interconnect i need to cho0se in QSYS ?:( module ThirtyTwobit_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 First i need to implement the above process. 2. Through Python, i need to give command to NIOS to start the Counter through Ethernet. But above First i need to implement the above process. Please suggest me.