Switch from Prototype Autoconfig ID to OAHR Manufacturer

This commit is contained in:
Matt Harlum 2023-04-15 04:56:00 +00:00
parent 516a8d0a70
commit fc50c930d9
2 changed files with 5 additions and 8 deletions

View File

@ -1,11 +1,9 @@
PROJECT=GottaGoFaZt3r
PART=XC95144XL-10-TQ100
WORKDIR=tmp
#SERIAL=$(shell git rev-parse --short=8 HEAD)
# Serial numbers currently causing issues with boards.library
SERIAL=$(shell git rev-parse --short=8 HEAD)
SERIAL=0
PRODID=72
DEFINES=makedefines autoconfig SERIAL=32'h${SERIAL} PRODID=${PRODID}
DEFINES=makedefines autoconfig SERIAL=32'h${SERIAL}
CABLE=usb21
CPLDFITFLAGS=-loc on -slew slow -init low -terminate keeper -unused ground -power std -optimize speed -keepio

View File

@ -29,12 +29,11 @@ module Autoconfig (
`include "globalparams.vh"
`ifndef makedefines
`define SERIAL 32'd421
`define PRODID 8'h72
`define SERIAL 32'd0
`endif
localparam [15:0] mfg_id = 16'h07DB;
localparam [7:0] prod_id = `PRODID;
localparam [15:0] mfg_id = 16'd5194; // Open Amiga hardware registry ID https://github.com/oahr/oahr
localparam [7:0] prod_id = 8'h03;
localparam [31:0] serial = `SERIAL;
// Register Config in/out at end of bus cycle