- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I have a max10 FPGA and I want to assigned a pin to the gnd Because my circuit is like this: output pin(3.3V ) LED power supplied(3.3V) so If I want to light up my LED, I should have an output pin=0V. I've try some VHDL code, it seems it doesn't work library ieee; use ieee.std_logic_1164.all; ENTITY et IS PORT( s : out std_logic ); END et ; ARCHITECTURE data_flow OF et IS BEGIN s<= '0'; END data_flow; I've also tried null instead of 0. But it still doesn't work. is it because I don't have IN std_logic thank you in advanceLink Copied
10 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you assign s port to the correct device pin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for ur replying. Yes I did and i'm sure about that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Because my circuit is like this: output pin(3.3V ) LED power supplied(3.3V) so If I want to light up my LED, I should have an output pin=0V. I've try some VHDL code, it seems it doesn't work --- Quote End --- What is the value of your current limiting resistor? Did you put a scope or a meter to measure the output pin? Kevin Jennings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I've also tried null instead of 0. --- Quote End --- Null would be incorrect, '0' is correct. --- Quote Start --- But it still doesn't work. is it because I don't have IN std_logic --- Quote End --- No Kevin Jennings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The pins can source and drain the required current? I would reccommend using a ground pin. I think there must be a couple of those.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your replying,
I couldn't really measure the current, now. Because I work in a starting project. But it was an experimented engineer, who develop that board. So I think he should think about that. I thought it may be have problem of compatibility of USB blaster II, which is not compatible with Altera max10 or the frequency of Jtag, 6MHz instead of 24MHz, but I don't know how to change that frequency- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- What is the value of your current limiting resistor? Did you put a scope or a meter to measure the output pin? Kevin Jennings --- Quote End --- Thank you for your replying, I couldn't really measure the current, now. Because I work in a starting project. But it was an experimented engineer, who develop that board. So I think he should think about that. I thought it may be have problem of compatibility of USB blaster II, which is not compatible with Altera max10 or the frequency of Jtag, 6MHz instead of 24MHz, but I don't know how to change that frequency
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- The pins can source and drain the required current? I would reccommend using a ground pin. I think there must be a couple of those. --- Quote End --- Thank you for replying, I couldn't use a ground pin. Because I have to manage light up or light down the LED. Could I just connect the ground directly to an output in schematic, does it work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
well, you need to complete the circuit, so it should work, assuming the output can drive enough current.
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