![]() |
|
|
|||||||
![]() |
VHDL - Case range with bitstream: VHDL |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hi there!!
I am stuck in a problem of CASE range, I have the following code: ---------------------------------------------------------------------------- input_data: IN std_logic_vector (7 downto 0); output: OUT std_logic_vector (3 downto 0); . . . . case input_data is when "00000001" => output <= "0010"; when "10000000" to "11111111" => output <= "1000"; when others => output <= "1111"; end case; ---------------------------------------------------------------------------- I want to make case range facility to work with binary also, how can I do this? thanks in advance, ahmad lightofspace |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cooler Master Gladiator 600 Case | Admin | Front Page News | 0 | 07-10-2009 10:52 AM |
| How to execute an external software from VHDL? And how to interface VHDL with JAVA? | becool_nikks | Software | 0 | 03-06-2009 07:08 PM |
| Help on auto conversion from Matlab to vhdl on filter design | hardheart | Hardware | 0 | 12-07-2007 09:19 AM |
| ARRAY(n DOWNTO 0) OF STD_LOGIC_VECTOR(m DOWNTO 0) - VHDL | freitass | Hardware | 0 | 11-01-2007 03:44 PM |
| Judge: File-swapping tools are legal | Citizen Bob | DVD Video | 140 | 11-08-2006 06:42 PM |