Attached ModelSim VHDL design of Generic Bus I/O MUX. Regards Alex.
Guest
#6303120
You published pretty lot of files today, but a closer look shows, most of them are simple and some even faulty and crappy. This is not standard code quality.
Griz Lee wrote: > You published pretty lot of files today, but a closer look shows, >most of them >are simple Yes, these are "stones" for my large projects. >and some even faulty and crappy. This is not standard code quality. You can explain that to all and I'll try to repair it ... I will say you thanx. Regards alex.
Alexander S. wrote: > Attached ModelSim VHDL design of Generic Bus I/O MUX. I don't understand what the whole thing is good for. A tristate buffer usually needs not more than two lines. A few words to that code:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
Never ever use combinatorial and synchronous descriptions in the same process! Additionally the simulation will be wrong due to the missing "DataIn" in the sensitivity list.
Lothar M. wrote: > Never ever use combinatorial and synchronous descriptions in the same > process! You are right :
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | |
45 | |
Thank you for good cooperation. Regards Alex.
Alexander S. wrote:1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
As already said: the simulation doesn't fit reality due to an incomplete sensitivity list. DataIn is missing. All in all this process is just bloating code. It can be replaced by 1 concurrent line of code:
1 | |
Lothar M. wrote: > As already said: the simulation doesn't fit reality due to an incomplete > sensitivity list. DataIn is missing. Thanx.
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
Usually, I use synchronous only process which have only clock in the sensitivity list. Regards Alex.
Reply
Please log in before posting.
