Bluespec Tristate Wrapper

12 views
Skip to first unread message

ayush mittal

unread,
Jun 26, 2017, 8:19:27 AM6/26/17
to connectal
Hey I was working on a project in bluespec and I need to implement a open drain line bidirectional. For that I used tristate package but how do i go about converting z to 1 in bluespec .

Jamey Hicks

unread,
Jun 26, 2017, 8:50:15 AM6/26/17
to ayush mittal, connectal
I tend to use an explicit IOBUF for these cases, so that I do not have to worry about synthesis doing the correct thing with 'z'.

An IOBUF has separate I, O, and T ports. It's a bit confusing because the I port is the input to the IOBUF but it's the signal you're going to send to the pin when you deassert the tristate signal T.


There is a wrapper for IOBUF in the XilinxCells package, I believe.

Cheers,
Jamey



On Mon, Jun 26, 2017 at 8:19 AM ayush mittal <29a...@gmail.com> wrote:
Hey I was working on a project in bluespec and I need to implement a open drain line bidirectional. For that I used tristate package but how do i go about converting z to 1 in bluespec .

--
You received this message because you are subscribed to the Google Groups "connectal" group.
To unsubscribe from this group and stop receiving emails from it, send an email to connectal+...@googlegroups.com.
To post to this group, send email to conn...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages