Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

Qsys common bus

Altera_Forum
Honored Contributor II
1,615 Views

Hello! 

I am sorry for my english. 

Help me solve a problem, please. 

 

I use Cyclone IV GX Transceiver Starter Kit Board. LCD, SSRAM and FLASH are connected to a common bus. Accordingly, some of the signals of LCD, SSRAM and FLASH are connected to one and the same pins of FPGA( example: LCD rs - pin A6, SSRAM address bus[0] - pin A6). 

I use LCD and SSRAM in my project. 

 

My project contains next components:  

1. Nios processor; 

2. Onchip_ram (tightly_coupled_memory); 

3. Sysid; 

4. Generic Tri-State Controller (for SSRAM); 

5. Tri-State Conduit Bridge (for SSRAM); 

6. Lcd controler 16x2; 

7. Jtag; 

8. Interval timer(sys_clk_timer); 

 

What other components should I add in my qsys project?  

What are components needed to work with multiple devices on the same bus?  

 

Thanks!
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
901 Views

I'm a little confused on the question, what are you trying to get working? The avmm is the common bus for the LCD and ssdram.

0 Kudos
Altera_Forum
Honored Contributor II
901 Views

LCD and SSRAM is connected to the same pins of FPGA. In my project I want to use both of these devices. But I don't know how to connect their controllers to the same wires in Qsys. What qsys components are needed more? Maybe I need a multiplexer or something like that ...I bad know Qsys.

0 Kudos
Altera_Forum
Honored Contributor II
901 Views

You need to use a 'Tri-State Conduit Bridge' and a Tri-State Conduit Pin Sharer. In the Pin Sharer you will need to specify all the signals associated with the peripherals (SSRAM and LCD) that you wish to use. Note: the board's FLASH is connected to the same FPGA pins too. You may not wish to use it but you will need to ensure it is controlled in a way that doesn't interfere with the SSRAM & LCD (ensure it's chip select is deselected). 

 

Once you have 'Generated' your Qsys system you will end up with a single set of pins that can be connected up as necessary. 

 

I recommend you refer to the design examples that came with the kit. There is a 'board_update_portal' example that shows you how to connect up these components. I'd also suggest that, looking at your project's needs from your original post, you may want to use this example as a basis for your project. Simply take out the bits you don't want (or simply ignore them in your software). 

 

Cheers, 

Alex
0 Kudos
Altera_Forum
Honored Contributor II
901 Views

Thanks, Alex! Thank God that there are people like you! You helped me a lot! All the best to you!

0 Kudos
Reply