OpenCores
URL https://opencores.org/ocsvn/light8080/light8080/trunk

Subversion Repositories light8080

[/] [light8080/] [trunk/] [tools/] [ihex2vlog/] [ihex2vlog.exe] - Diff between revs 65 and 68

Only display areas with differences | Details | Blame | View Log

Rev 65 Rev 68
MZ@  !L!This program cannot be run in DOS mode.
MZ@  !L!This program cannot be run in DOS mode.
$PEL $0@@@;(h;@.text `.data
0@UPEظEиE̸0@PEPg
$PEL`$0@@;(;@.textP `.data\
0@UPEظEиE̸0@PEP
0@PaE&0@PG(0@P9L0@P+N0@P0@P0@P0@P"1@PI1@P1@P1@P1@PG2@P2@P2@P2@Pu:3@Pg<3@PY1	EE(
EEߋE<@ݸE܋EMEȋE-Eȃ4%Eظ EԸEи EEȃ1Mȃ6!ȅ%EظEԸ@Eи EmEȃaEȃMQe3@QP8EЃMЃ	ȅEPh3@PẼ;E̸EEM9
EEEEEȃsfEȃMQ3@QPÉḾ      ȅEP3@P9<EȃmEȃPEPEP3@PE܉E܋EMEEMPEEP3@PE&EMP3@P{SE܃MP4@PRE܃M-4@PPCEE)E܃MP04@PE؅wEMؙEEPJ4@PEMPk4@PEP4@PEP4@PEPEEM9*
EEEP4@PEPe۸4@PEPQEEM9*
EE݋EP4@PEP۸4@PEP5@PEPEEM9>
EEEP5@PEPEEM9
EEEMQPEP5@PEP[EEM9
EEEMMUȋMȋM)ȃEEM9E<@EEEMQP75@PEP
r<5@PEP

0@PE&0@P(0@PyL0@PkN0@P]0@PO0@PA0@P3"1@P%I1@P1@P	1@P1@PG2@P2@P2@P2@P:3@P<3@Py	EE(
EEߋE<@ݸE܋EMEȋE-Eȃ4%Eظ EԸEи EEȃ1Mȃ6!ȅ%EظEԸ@Eи EmEȃaEȃMQe3@QPxEЃMЃ	ȅEPh3@P8Ẽ;E̸EEM9
EEEEEȃsfEȃMQ3@QPÉḾ      ȅEP3@PyY<EȃmEȃPEP=EP3@P.E܉E܋EMEEMP9	EEP3@PE&EMP3@PE܃MP4@PE܃M-4@PPEE)E܃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PPPl9ы<@‹99[9NPP9@PPP9@PQPEP9@PfEUEEEQf
EE܋E9@Pe(PEPEP:@PEP/:@P@:@Pk:@PEEEEEM9:@PZ:@P(PP$$(P:@PEEEM9=
EEE<@PEPP$PEȸPPP$P"(PEPEP:@PU;@+E=D=DE=D;@=DM93=D $E=D=DP=DP;@PEP=D
=D=DMEE
=D9Y
EE݋E
UEP&9@P^9@PP9@PEPDEP9@P
P$PPPPP
ERROR: incorrect usage of program.
!PPv
!PPPPPPPl9ы<@‹99[9NPP9@PPP9@PQPEP:@P^EUEEEQ^
EE܋E":@Pe(PEPEPN:@PEP/U:@Px:@P:@PEEEEEM9:@PR;@P(PH$$(P;@PEEEM9=
EEE<@PEPP$PEȸPPP$P"(PEPEP%;@PzUL;@+EP=DT=DEX=DL;@P=DM93T=D $ET=DX=DPT=DPP;@PEPX=D
T=DX=DMEE
T=D9Y
EE݋E
Usage: ihex2vlog [-a/s/m/4/16]  
ERROR: incorrect usage of program.
optional parameters:
     -a  generate initialization vectors for generic Verilog
Usage: ihex2vlog [-a/s/m/4/16]  
                code with specified address bus width. value should be
optional parameters:
                in the range 8 to 16.
     -a  generate initialization vectors for generic Verilog
                this is the default option with width = 16
                code with specified address bus width. value should be
     -s  set size of generic verilog memory size.
                in the range 8 to 16.
                value should be in the range 256 to 65536.
                this is the default option with width = 16
                default value is 2** (address width defined above).
     -s  set size of generic verilog memory size.
     -m   set module name for generic verilog memory.
                value should be in the range 256 to 65536.
                default value is "ram_image".
                default value is 2** (address width defined above).
     -4         generate initialization vectors for Xilinx RAMB4.
     -m   set module name for generic verilog memory.
     -16        generate initialization vectors for Xilinx RAMB16.
                default value is "ram_image".
     -4         generate initialization vectors for Xilinx RAMB4.
Example: ihex2vlog test.ihx ram_image.v
     -16        generate initialization vectors for Xilinx RAMB16.
%d
ERROR: Address width value error (%d)
Example: ihex2vlog test.ihx ram_image.v
%d
%d
ERROR: Address width value error (%d)
ERROR: Memory size value error (%d)
%d
ERROR: Memory size value error (%d)
ERROR: Unsupported option "%s"
HEX memory top address %d
ERROR: Unsupported option "%s"
ERROR: Can't read '%s'!
Writing output file to: %s
HEX memory top address %d
wtERROR: Can't write '%s'!
ERROR: Can't read '%s'!
HEX file requires %d RAM blocks
Writing output file to: %s
// RAM image for input code file: %s
wtERROR: Can't write '%s'!
// enable memory blocks
HEX file requires %d RAM blocks
`ifdef EN_ALL_BLOCKS
// RAM image for input code file: %s
`define EN_BLOCK%d     1
// enable memory blocks
`else
`ifdef EN_ALL_BLOCKS
`define EN_BLOCK%d     1
`define EN_BLOCK%d     1
`endif
`else
`define EN_BLOCK%d     1
// block %d
`endif
defparam mem%d.INIT_%X%X = 256'h%x%x;
Generate generic Verilog RAM code.
// block %d
//-----------------------------------------------------------------------------
defparam mem%d.INIT_%X%X = 256'h%x%x;
//
Generate generic Verilog RAM code.
// RAM image for input code file: %s
//-----------------------------------------------------------------------------
//
//
//-----------------------------------------------------------------------------
// RAM image for input code file: %s
module %s
//
(
//-----------------------------------------------------------------------------
       clk, addr,
module %s
       we, din, dout
(
);
       clk, addr,
//-----------------------------------------------------------------------------
       we, din, dout
input           clk;
);
input   [%d:0]  addr;
//-----------------------------------------------------------------------------
input           we;
input           clk;
input   [7:0]   din;
input   [%d:0]  addr;
output  [7:0]   dout;
input           we;
//-----------------------------------------------------------------------------
input   [7:0]   din;
reg [7:0] dout;
output  [7:0]   dout;
reg [7:0] ram [%d:0];
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
reg [7:0] dout;
initial
reg [7:0] ram [%d:0];
begin
//-----------------------------------------------------------------------------
    ram[%d] = 8'h%x%x;
initial
end
begin
    ram[%d] = 8'h%x%x;
//-----------------------------------------------------------------------------
end
always @(posedge clk)
begin
//-----------------------------------------------------------------------------
    if (we)
always @(posedge clk)
        ram[addr] <= din;
begin
    dout <= ram[addr];
    if (we)
end
    begin
        ram[addr] <= din;
endmodule
        dout <= din;
//-----------------------------------------------------------------------------
    end
%02x%04x%02x%02x%02xCan't load a file without the filename.  '?' for help
    else
rCan't open file '%s' for reading.
        dout <= ram[addr];
Loaded %d bytes between: %04X to %04X
end
   Error: '%s', line: %d
   Must specify address range and filename
endmodule
%x%x%s   Invalid addresses or filename,
//-----------------------------------------------------------------------------
    usage: S begin_addr end_addr filename
%02x%04x%02x%02x%02xCan't load a file without the filename.  '?' for help
    the addresses must be hexidecimal format
rCan't open file '%s' for reading.
   Begin address must be less than end address.
Loaded %d bytes between: %04X to %04X
w   Can't open '%s' for writing.
   Error: '%s', line: %d
Memory %04X to %04X written to '%s'
   Must specify address range and filename
:%02X%04X00%02X%02X
%x%x%s   Invalid addresses or filename,
:00000001FF
    usage: S begin_addr end_addr filename
 
    the addresses must be hexidecimal format
 
   Begin address must be less than end address.
 
w   Can't open '%s' for writing.
 
Memory %04X to %04X written to '%s'
 
:%02X%04X00%02X%02X
 
:00000001FF
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.