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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [VHDL/] [o8_scale_conv.vhd] - Diff between revs 318 and 326

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 318 Rev 326
Line 36... Line 36...
--         resolves the issue of divide by 0, as 0 will be treated as 1, as
--         resolves the issue of divide by 0, as 0 will be treated as 1, as
--         well as saving time if the division isn't required.
--         well as saving time if the division isn't required.
--
--
-- Register Map:
-- Register Map:
-- Offset  Bitfield Description                        Read/Write
-- Offset  Bitfield Description                        Read/Write
--   0x00  AAAAAAAA Operand A, Lower Byte                 RW
--   0x00  AAAAAAAA Operand A, Lower Byte                 (RW)
--   0x01  AAAAAAAA Operand A, Upper Byte                 RW
--   0x01  AAAAAAAA Operand A, Upper Byte                 (RW)
--   0x02  AAAAAAAA Operand B, Lower Byte                 RW
--   0x02  AAAAAAAA Operand B, Lower Byte                 (RW)
--   0x03  AAAAAAAA Operand B, Upper Byte                 RW
--   0x03  AAAAAAAA Operand B, Upper Byte                 (RW)
--   0x04  AAAAAAAA Operand C, Byte 0                     RW
--   0x04  AAAAAAAA Operand C, Byte 0                     (RW)
--   0x05  AAAAAAAA Operand C, Byte 1                     RW
--   0x05  AAAAAAAA Operand C, Byte 1                     (RW)
--   0x06  AAAAAAAA Operand C, Byte 2                     RW
--   0x06  AAAAAAAA Operand C, Byte 2                     (RW)
--   0x07  AAAAAAAA Operand C, Byte 3                     RW
--   0x07  AAAAAAAA Operand C, Byte 3                     (RW)
--   0x08  AAAAAAAA Operand D, Byte 0                     RW
--   0x08  AAAAAAAA Operand D, Byte 0                     (RW)
--   0x09  AAAAAAAA Operand D, Byte 1                     RW
--   0x09  AAAAAAAA Operand D, Byte 1                     (RW)
--   0x0A  AAAAAAAA Operand D, Byte 2                     RW
--   0x0A  AAAAAAAA Operand D, Byte 2                     (RW)
--   0x0B  AAAAAAAA Operand D, Byte 3                     RW
--   0x0B  AAAAAAAA Operand D, Byte 3                     (RW)
 
--
--   0x10  AAAAAAAA Accumulator, Byte 0                   R0
--   0x10  AAAAAAAA Accumulator, Byte 0                   (R0)
--   0x11  AAAAAAAA Accumulator, Byte 1                   R0
--   0x11  AAAAAAAA Accumulator, Byte 1                   (R0)
--   0x12  AAAAAAAA Accumulator, Byte 2                   R0
--   0x12  AAAAAAAA Accumulator, Byte 2                   (R0)
--   0x13  AAAAAAAA Accumulator, Byte 3                   R0
--   0x13  AAAAAAAA Accumulator, Byte 3                   (R0)
--   0x14  A------- Accumulator, Sign / Bit 32            R0
--   0x14  A------- Accumulator, Sign / Bit 32            (R0)
 
--
--   0x18  AAAAAAAA BCD Data, Digits 1,0                  RO
--   0x18  AAAAAAAA BCD Data, Digits 1,0                  (RO)
--   0x19  AAAAAAAA BCD Data, Digits 3,2                  RO
--   0x19  AAAAAAAA BCD Data, Digits 3,2                  (RO)
--   0x1A  AAAAAAAA BCD Data, Digits 5,4                  RO
--   0x1A  AAAAAAAA BCD Data, Digits 5,4                  (RO)
--   0x1B  AAAAAAAA BCD Data, Digits 7,6                  RO
--   0x1B  AAAAAAAA BCD Data, Digits 7,6                  (RO)
--   0x1C  AAAAAAAA BCD Data, Digits 9,8                  RO
--   0x1C  AAAAAAAA BCD Data, Digits 9,8                  (RO)
--   0x1D  A------- BCD Data, Sign [pos (0), neg (1)]     R0
--   0x1D  A------- BCD Data, Sign [pos (0), neg (1)]     (RO)
 
--
--   0x1F  C-----BA Control/Status                        RW
--   0x1F  C-----BA Control/Status                        (RW)
--                   A = Operation Type:
--                   A = Operation Type:
--                       Unsigned (0) / Signed (1)
--                       Unsigned (0) / Signed (1)
--                   B = BCD conversion (if set) (WR)*
--                   B = BCD conversion (if set) (WR)*
--                       BCD result valid if set (RD)
--                       BCD result valid if set (RD)
--                   C = Conversion Status (1 = busy)
--                   C = Conversion Status (1 = busy)

powered by: WebSVN 2.1.0

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