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

How can I pick some bits from bus in Quartus?

YaGaRa12
Novice
2,321 Views

Hi, I'm trying to select a part of the bus, from the output "Salida_alu" which is 32 bits [31..0], I am only interested in 4 bits [3..0] to enter them in the Func input. I have done it in several ways but in the "RTL" I keep showing separately. I will be very grateful if you can help me, thanks.

0 Kudos
8 Replies
Vicky1
Employee
1,870 Views

Hi,

Please verify the connection as shown below,

modifiedalu.jpg

let me know, how it works for you.

Regards,

Vicky

0 Kudos
YaGaRa12
Novice
1,870 Views

Sorry, but I don't understand what you did. Could you explain me, please?

 

0 Kudos
sstrell
Honored Contributor III
1,870 Views

Vicky is saying you don't need separate bit taps for each bit. You already named the vector correctly (Salida_alu[3..0]) so just connect it directly. The bigger issue I see is that you'll have multiple drivers directly driving ALU_DER. Should there be some logic to select between Salida_alu[3..0] and Entrada_Func_Alu2[3..0]?

 

#iwork4intel

0 Kudos
YaGaRa12
Novice
1,870 Views

Hello again, sorry for these newbie questions, but I'm starting in Quartus.

It really doesn't have logic what I was doing, it was just a small test to connect other modules.

I already found what it required, thank you very much to both of you.

Regards.

Ray.

0 Kudos
YaGaRa12
Novice
1,870 Views

This is what I was looking for in 'RTL'

0 Kudos
Vicky1
Employee
1,870 Views

Hi Ray,

I appreciate your efforts & patience.

just perform the following steps,

  1. draw one line using "Orthogoanl Bus Tool" in .bdf file & name it as Salida_alu[3..0].
  2. Then connect one end of Salida_alu[3..0] to the bus line" Entrada_Fun_alu2[3..0]" as shown in below screenshot.

 

modifiedalu.jpg

 

let me know if this has helped to you or if you have any different concern.

 

Regards,

Vicky

0 Kudos
Vicky1
Employee
1,870 Views

Hi,

Have you resolved the issue?

Shall I consider the case to be closed?

 

Regards,

Vicky

0 Kudos
YaGaRa12
Novice
1,870 Views

Hi

Sorry.

Yes, thank you so much.

 

Regards,

Ray,

 

Reply