- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all;
I designed simple two-input "and" gate and connected the output of gate to a led. But led is working inverse. How can I solve this problem?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I guess you connected the fpga output to LED cathode and Vcc to anode, so it lights up when output is low.
The simplest solution is inverting the and gate result inside fpga. Otherwise you should connect the anode to the output and the cathode to ground, but I think this is not possible on your board. Moreover the common practice is driving loads with a current sink (then in an inverted way) rather than a current source, since output stages work more efficiently.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page