john wrote:
> Hello,
>
> I tried to fix the Reading problem of the code. i hope that It will be
> allright now!
Don't just hope. Simulate! Check the functionality of your code by
applying stimuli and check the result against your requirements.
> I read the literature u mentioned but could not apply it
> to my problem.
Read the part about the UART design again.
> Where am I am misusing the hirarchery or mixing control
> and data path. You are right that I designed it like connecting the
> 74LS00 chips on the circuit board but I do not understand whats wrong
> with that!
You're code will be hard to understand and hard to maintain. The
intention of the code is not obvious.
And if you do need a latch, a simple process will suffice. There's no
need to create a separate entity for that.
> Would you please give me some simple examples or mistake in
> my code so that I can fix the problem...
I still think you should read
http://www.designabstraction.co.uk/A...Techniques.htm
once again. The example is quite simple (UART design) yet not too
trivial to make the point. The point being: "Many HDL Designers write
RTL code at a much lower level of abstraction than is actually necessary
to achieve the desired end".
Paul.