赛灵思
直播中

杨文田

7年用户 135经验值
私信 关注
[问答]

请问是否有办法获得更多输入或显示器是否可以共享输入?

好吧,我正试图控制七段显示器。
为了控制每个显示器,我需要四个输入(4位)来显示数字0,1,2 .... 9.所以我需要16个输入,因为有四个显示器,但是nexys2只有12个输入(8个滑动开关)
和4个按钮)......那还不够。
我只是想知道是否有办法获得更多输入或显示器是否可以共享输入或我可以做什么?我已经完成了所有.vhd文件(多路复用器,分频器等)但我
无法生成.bit文件.Ps.
抱歉英文不好

以上来自于谷歌翻译


以下为原文

Well, I'm trying to control the seven segment displays. To control each display I need four inputs (4 bits) to display the numbers 0, 1, 2.... 9. So I need 16 inputs, because there are four displays, but the nexys2 only has 12 inputs (8 slide switches and 4 buttons)... and that's notenough. I just wanted to know if there is a way to get more inputs or if the displays can share inputs or what can I do?
I have done all the .vhd files to do this (a mux, a frequency divider, etc) but I can't generate the .bit file.

Ps. sorry for the bad english

回帖(1)

陈忠阳

2019-6-13 11:07:14
NEXYS2有一堆扩展连接器,可以连接其他开关。
或者,您可以复用输入 - 例如,当您按下按钮时,使用左侧的四个开关将右侧四个开关指示的值分配给四个显示中的任何一个。
例如
1001_0110将使第一和第四显示器显示6,第二和第三显示器将继续显示其当前值。
但这只是我头脑中的一个建议 - 你的项目规范说你打算做什么?

以上来自于谷歌翻译


以下为原文

The NEXYS2 has a bunch of expansion connectors that you could connect additional switches to.
 
Alternatively you could multiplex the inputs - for example, use the left four switches to assign the value indicated by the right four switches to any of the four displays when you press a button.
 
e.g. 1001_0110 would cause the first and fourth display to show 6, and the second and third to keep displaying their current values.
 
But that's just one suggestion off the top of my head - what does your project specification say you're meant to be doing?
举报

更多回帖

发帖
×
20
完善资料,
赚取积分