constraints - BASYS3 Lighting the leds -


i'm beginner programming , working on basys3.

in code have 2 2 bit outputs: la , lb. assuming these 2 traffic lights , 00 means red, 10 means yellow, 11 means green. if output red, 3 leds light. don't know how implement in constraint file. normally, when output 1, want led light , write kind of code:

set_property package_pin u14 [get_ports {la[0]}]                       set_property iostandard lvcmos33 [get_ports {la[0]}] 

but time want led light when output 0. maybe can write 2 more outputs become opposite of real outputs , can use them in constraint wonder can directly implement want in constraint file?


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -