![]() |
|
|
|
#1 |
|
Hi,
signal a : std_logic_vector (7 downto 0) signal b : std_logic_vector (7 downto 0) signal c : std_logic_vector (15 downto 0) .... c(7 downto 0) <= a(7 downto 0); c(15 downto I don't see why the compiler doesn't accept this arrangement assertions? Basically a and b are LSB and MSB of a bus. GD GDan |
|
|
|
|
#2 |
|
Posts: n/a
|
Hi GD,
what compiler do you use? But the problem you run into may be caused by using concurrent assignment on the same signal. For the Compiler each concurrent assignment is seen as a separate process. If your compiler doesn't check the access to signal c element by element but only the whole signal you have created a multiple driver problem. (Not really, but the way the compiler sees it.) You can overcome the problem by creating a single process with sequential assignment: AssignBus : process (a,b,) begin c(7 downto 0) <= a(7 downto 0); c(15 downto end process; Have a nice simulation Eilert GDan schrieb: > Hi, > > signal a : std_logic_vector (7 downto 0) > signal b : std_logic_vector (7 downto 0) > signal c : std_logic_vector (15 downto 0) > > ... > > c(7 downto 0) <= a(7 downto 0); > c(15 downto > > I don't see why the compiler doesn't accept this arrangement > assertions? Basically a and b are LSB and MSB of a bus. > > GD > backhus |
|
|
|
#3 |
|
Posts: n/a
|
GDan skrev:
> Hi, > > signal a : std_logic_vector (7 downto 0) > signal b : std_logic_vector (7 downto 0) > signal c : std_logic_vector (15 downto 0) > > ... > > c(7 downto 0) <= a(7 downto 0); > c(15 downto > > I don't see why the compiler doesn't accept this arrangement > assertions? Basically a and b are LSB and MSB of a bus. > > GD Why not: c <= b & a; --? /Peter Peter |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is ripping unencrypted scratched DVD more reliable than 1:1 copying of that same DVD? | Kathi | DVD Video | 0 | 07-17-2006 07:46 AM |
| Copying DVDs may be legal | syofcdyagwrq@yahoo.com | DVD Video | 48 | 03-06-2006 05:54 PM |
| Problem copying homemade dvd | Winny | DVD Video | 3 | 09-30-2004 09:45 PM |
| my article on copying DVD movies | JB | DVD Video | 7 | 11-12-2003 10:18 PM |
| Film Studios Sue Over DVD Copying Software (Reuters) | Tarkus | DVD Video | 0 | 09-18-2003 04:54 AM |