Forum Discussion
Hi Jongyun ,
I'm Eliath and I'll help you with this, I just have a few questions:
does your design have a component on Qsys? or it is only code?
Is VHDL or Verilog the language you are using for the logic?
Which Quartus version are you using?
Regards,
-Eliath
- jjang5 years ago
New Contributor
In my design, NIOS is my master.
Quartus 17.1 // Qsys(Platform Designer)
1. Nios
1.1 Onchip-memory
1.2 jtag
1.3 Avalon -MM-Pipelined-Slave (conduit to Logic)
* Address, Wr_n/Rd_n / ReadData / WriteData / WaitReq / ReadVaild
i wanna communicate with Vhdl/Verilog Logic .
Nios <-> Logic
===============================================
Main Clock : 50Mhz (Logic, Nios)
Befored i using without pipelined Options (* ReadVaild, WaitReq)
--- Without Using (* ReadVaild, WaitReq)
proess(RD_n, Address)
begin
if RD_n = '0' -- Nios wanna Read Data
case Address(15 downto 0) is
when x"0000" => ReadData <= x"00000000";
....
...
when others => ReadData <= x"ffffffff";
end case
else
ReadData <= (others => 'z');
end if;
end process;
=================
i'm not sure what is mean "Maximum pending read Transactions"
* IF i Set Maximum Pending Read Transactions = 2 then,
* 1.1 At Slave sides, Read 2 Addr1, Addr2 (When Rising Clock) (Refer Below Timing Diagram)
* 1.2 After Read 2 Times Slave Asset WaitReq to High
* 1.3 Wait a Clock Delay (Sync to Where? need to make Another Clock?)
* IF i Set Maximum Pending Read Transactions = 4 then,
* 2.1 At Slave sides, Read 4 [Addr1, Addr2, Addr3 ,Addr4] When Rising Clock
* 2.2 After Read 4 Times Slave Asset WaitReq to High
* 2.3 Wait a Clock Delay (Sync to Where? need to make Another Clock?)
refer : https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/manual/mnl_avalon_spec.pdf
Page #. 29