After I looked at your code, I replied that ZZZ will only occur is CS = '0' or CS = '1' and wr or rd = '0'. Also, why have you got 'ZZZ' as an option, as dataout is an output, not an inout, and so 'ZZZ' is a pointless output.
I assume you understand this code is only a simulation model and cannot be synthesised.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?