-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorial 4 source does not compile #19
Comments
Same error, doesn't work. |
Buenas, parece que al utilizar un bus de 26 bits, en el fichero pcf se debe identificar todos los pines para los 26 bits...una opción para ver lo que Obijuan propone podría ser así: module counter (input clk, output [3:0] data); always @ (posedge clk) begin end set_io data[3] 96 |
This could be a problem of arachne-pnr which doesn't seem to allow unconstrained I/O (data [21:0]) in the top-level module (counter). IMHO the best solution would be to migrate to nextpnr in all Makefiles (sigh) since arachne-pnr is not maintained anymore. And for the sake of simplicity then just allow the usage of unconstrained ports with nextpnr. Example of changes in Makefile in order to use nextpnr (also targets like e.g.
Note the
...at least more clear than in arachne-pnr case. |
Running arachne on counter.v from tutorial 4 (the 26 bit counter) results in a fatal error due to missing set_io constraints. The counter.v file contains:
module counter(input clk, output [25:0] data);
while the .pcf contains only pin destinations for the first four bits:
Leading to arachne throwing up a fatal error: Missing 22 set_io constraints.
The text was updated successfully, but these errors were encountered: