- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello people,
When I create a project I immediately import the DE0 nano settings file with the pin assignments. In the block editor file though when i use only one or two output pins of the chip like GPIO_1[16] the specific pin gets ignored and when i compile it at the pin assignment I see the output pins I added as extra pins like GPIO_116 and not assigned to the pins I wanted. Anybody has any idea why? ThanksLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not sure (being not familar with the block editor),
but have you declared the GPIO_1 as the whole vector and are just using the two bits or have you declared only the two bits required (thus the compiler may not detect these two pins as part of the vector).- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the answer!
No I use only the two pins I need (GPIO_1[16] and GPIO_1[22]). How can I make a declaration inside the block editor?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thus I'd suggest to either rename your's two pins, delete the assignment for GPIO_1 and assign the pins to these two signals or to assign a fixed signal (either '0' or '1') to the other members of GPIO_1 to have the vector being recognized...- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply!
My problem though is that I have created a board with some levelshifters and the FPGA is mounted on. Some GPIO pins of the FPGA are connected to inpout-outputs of the levelshifters. The first thing I need to do is to assure that the output of the levelshifters is off so that there is no double drive on a specific line. Maybe I should create the block file and then import the pin assignments.
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