Skip to content

GateMate Support With Amaranth #1372

Discussion options

You must be logged in to vote

We have now fixed the issue with the Pin_in, Pin_out, Pin_inout pin declarations with the new p_r GateMate tool update that lets us declare ports this way.
Net "led_0__io" Loc = "IO_SB_B6";

Now the .ccf file can be simply generated using this

"{{name}}.ccf": r"""
 # {{autogenerated}}
 {% for port_name, pin_name, attrs in platform.iter_port_constraints_bits() -%}
     Net "{{port_name}}" Loc = "{{pin_name}}";
 {% endfor %}
""",

I know that I need to add attributes, but this was just to test out the Blinky example I wrote for the Olimex board so I can close this discussion.

Next step for me is to make the gatemate_a1_evb.py in amaranth_boards file have more Resources and the check the gate…

Replies: 1 comment 27 replies

Comment options

You must be logged in to vote
27 replies
@chili-chips
Comment options

@chili-chips-ba
Comment options

@chili-chips-ba
Comment options

@TarikHamedovic
Comment options

Answer selected by TarikHamedovic
@whitequark
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants