Skip to content

1YEN-Toru/MCOC115-TD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation


MCOC115-TD

This is Moscovium series MCU projects for Sipeed Lichee Tang Primer FPGA board.

  • Anlogic TD IDE project
  • Development on this FPGA board (Primer) has been frozen.
    • Development is progressing on another FPGA board (Cmod A7).
    • See MCOC115-VD repository.
  • MCOC: Moscovium (Mc) On Chip
    • 115 is the atomic number of Mc (Moscovium).
    • 117 for Ts (Tennessine), 113 for Nh (Nihonium).

Moscovium series

Moscovium is an original 16 bit CPU core.

More options for the Moscovium series here:

  1. Tennessine
    • 8 bit data path
  2. Moscovium
    • 16 bit data path
  3. Moscovium-SS
    • 16 bit data path x2
    • Super Scalar
  4. Nihonium
    • 32 bit data path
  5. Nihonium-SS
    • 32 bit data path x2
    • Super Scalar

Moscovium series CPU cores are scalable from 8 ~ 32 bit data paths.

  • The order listed above is roughly a trade-off between performance and size (LUTs).
    • Lower performance takes smaller size.
    • Higher performance takes larger size.

Directories and Files

  • README.md
    • This article.
  • MCOC115/
    • Anlogic TD IDE's project directory
      • al_ip/
        • Anlogic IP files
      • asmsrc/
        • Assembler and sample sources
      • ip/
        • IP units
      • simulation/
        • Test bench for logic simulation
      • top/
        • Top level modules
      • *.al
  • LIBAL/
    • Anlogic TD IDE cell library
      • al/
      • ef2/
      • ef3/
      • eg/
      • elf/

Anlogic TD IDE cell library

Copy:

Copy all the files under "sim/" in the TD IDE installation directory to "LIBAL/" by yourself.

  • <InstallDir>/Anlogic/TD4.6.4/sim/ ==copy=> LIBAL/
    • al/
    • ef2/
    • ef3/
    • eq/
    • elf/

For details in Japanese, please see the following URL.

Modify:

Comment out "`resetall" directive at the beginning of following files.

  • LIBAL/al/al_map_addr.v
  • LIBAL/al/al_map_mux4.v

IP Units

See MCU edition table MCOC_edition.png first.

All links point to Japanese pages.

CPU core

Coprocessor

  • MULC16
    • Multiply coprocessor
      • for Moscovium / Moscovium-SS
    • 16 * 16 = 32 bit multiply, signed and unsigned
  • DIVC32
    • Divide coprocessor
      • for Moscovium / Moscovium-SS
    • 16 / 16 = 16 ... 16 bit divide, signed and unsigned
    • 32 / 32 = 32 ... 32 bit divide, signed and unsigned
  • HALFPU
    • 16 bit half precision Floating Point Unit (FPU)
      • for Moscovium / Moscovium-SS / Nihonium / Nihonium-SS
  • SGLFPU
    • 32 bit single precision Floating Point Unit (FPU)
      • for Nihonium / Nihonium-SS

System units

  • BUSC2040DL
    • Bus state controller
    • 24 bit address area, 16 / 32 bit data bus
  • INTC322DVL
    • Interrupt controller
    • 4 level vector interrupt
  • CACHE2W4K
    • Cache memory controller
    • 2 way set associative, 4K byte, LFU, write through

Timer units

  • SYSTIM
    • System timer unit
    • Millisecond, microsecond and clock counter
  • TIM162
    • 16 bit PWM timer unit
    • 2 PWM output
  • RTC400
    • Real time clock unit
    • Full 400 years of leap year support

Communication units

  • UART8N1
    • UART unit
    • Format: 8N1 (8 bit data, no parity, 1 stop bit)
  • STWSER
    • Synchronous two wire serial unit (I2C)
    • Master and slave communication

I/O units

  • PORT8I8O
    • General I/O port unit
  • IOMEM16
    • 16 byte I/O memory (RAM) unit
  • SEMPH5R9U
    • Semaphore unit
  • ICFF16
    • Intercommunication FIFO unit
  • LOGA8CH
    • Logic analyzer accelerator unit
  • FONTJP
    • Japanese font unit
  • ADC124
    • 12 bit SAR A/D converter unit
  • DAC121
    • 12 bit delta-sigma D/A converter unit
  • UNISJI
    • Unicode and S-JIS conversion unit
  • DISTUS
    • Distance measuring by ultrasonic sensor unit

Memory units

  • ROM
    • Instruction ROM unit
  • IRAM
    • Instruction RAM unit
  • RAM
    • Main memory (RAM) unit
  • SDRAM8M
    • Builtin SDRAM unit

Download

Select "<>Code => Local => Download ZIP".

Unzip down loaded file.


Documents

You can see documentation in Japanese from links below.

  1. Moscovium series MCU (http://hello.world.coocan.jp/ARDUINO15/a153_instset.html#LINEUP)
  2. FPGA board

Disclaimer

All data in this repository are unsupported and unguaranteed.

Use at your own risk.


About

Moscovium series MCU projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages