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

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [example/] [GameOfLife/] [hdl/] [uc/] [uc.9x8] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 sinclairrf
# Conway's Game of Life, SSBCC.9x8 implementation
2
# Copyright 2012-2013, Sinclair R.F., Inc.
3
 
4
ARCHITECTURE core/9x8 Verilog
5
 
6
MEMORY          RAM     ram             128
7
MEMORY          rom     nBitsSet        8
8
 
9
DATA_STACK      32
10
RETURN_STACK    32
11
COMBINE         INSTRUCTION,MEMORY  2048
12
 
13
PORTCOMMENT     video timing
14
INPORT          set-reset       i_frame_ended           I_FRAME_ENDED
15
 
16
PORTCOMMENT     UART game control
17
PERIPHERAL      UART            baud=9600
18
 
19
PORTCOMMENT     ping pong buffer access and control
20
OUTPORT         1-bit           o_ping_pong_sel_rd      O_PING_PONG_SEL_RD
21
OUTPORT         1-bit           o_ping_pong_sel_wr      O_PING_PONG_SEL_WR
22
OUTPORT         8-bit           o_addr_high             O_ADDR_LINE
23
OUTPORT         5-bit           o_addr_low              O_ADDR_WORD
24
INPORT          8-bit           i_buffer                I_BUFFER
25
OUTPORT         8-bit,strobe    o_buffer,o_buffer_wr    O_BUFFER
26
# sizes that must match the number of bits for the number of buffers, and the
27
# number of line and word addresses
28
CONSTANT        C_N_MEM_BUFFERS   2
29
CONSTANT        C_N_MEM_LINES   256
30
CONSTANT        C_N_MEM_WORDS    32
31
 
32
ASSEMBLY        uc.s

powered by: WebSVN 2.1.0

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