- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a 2-input, 3-bit-wide AND gate. I'd like to supply the same signal (which is coming from a single-bit-wide NOT gate) to all 3 bits of the second input to the AND gate.
I tried following the instructions in the PSOC Creator help topic 'Drawing Buses' but no matter what order I do things in I always end up with errors. Usually "No input on instance "and_1", terminal "term1[2:0]". Some ways I have tried even complain that the is no input on the terminal "outTerminal" of the NOT gate, I can't imagine what that message is even trying to mean.
Could someone please walk me through this? I no it can't be complicated, but I am stumped.
Thanks,
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Doug,
I spoke with an Apps Engineer about this because I wasn't sure if this was possible.
In general, Creator doesn't support directly connecting a single bit to a bus input signal. The error your seeing is Creator reporting that the input terminal on the AND gate has unconnected signals.
I've attached a schematic image for reference. In the attached, we used intermediate logic to create a bus for the input on the AND gate. When you build, all this intermediate logic is optimized out.
The assumption is that the other input on the AND gate is a bus for a specific reason. Here, we just used a Pins component configured with 3 pins.
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That works, thanks.
-Doug