- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Mux 2:1in 6-LUT
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-02-2012 08:35 AM
Hi,
If in Virtex-5 we have 6-LUT with the 2 outputs O6 and O5, and is possible to have 2 different function of 5 inputs each.
How implement 2 multiplexer 2:1 in one 6-LUT?
Re: Mux 2:1in 6-LUT
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-03-2012 09:39 AM
rmarcel wrote:If in Virtex-5 we have 6-LUT with the 2 outputs O6 and O5, and is possible to have 2 different function of 5 inputs each.
How implement 2 multiplexer 2:1 in one 6-LUT?
signal muxout : std_logic;
signal foo : std_logic;
signal bar : std_logic;
signal select : std_logic;
....
muxout <= foo when select = '1' else bar;
You're welcome.
----------------------------------------------------------------
Yes, I do this for a living.
Re: Mux 2:1in 6-LUT
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-04-2012 03:21 AM
bassman59 wrote:
rmarcel wrote:If in Virtex-5 we have 6-LUT with the 2 outputs O6 and O5, and is possible to have 2 different function of 5 inputs each.
How implement 2 multiplexer 2:1 in one 6-LUT?
signal muxout : std_logic;
signal foo : std_logic;
signal bar : std_logic;
signal select : std_logic;
....
muxout <= foo when select = '1' else bar;
You're welcome.
More likely that the following would infer 2 multiplexers like what the OP wants:
signal muxout : std_logic_logic(1 downto 0);
signal foo : std_logic_logic(1 downto 0);
signal bar : std_logic_logic(1 downto 0);
signal select : std_logic;
....
muxout <= foo when select = '1' else bar;
Except that the the multiplexers aren't independent, which may be what (s)he wants. Why one would really care in a normal industrial design is another matter.
------------------------------------------
"If it don't work in simulation, it won't work on the board."
Re: Mux 2:1in 6-LUT
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-20-2012 02:06 AM
It it possible, as the two multiplexer share 1-bit select signal.











