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

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [core/] [9x8/] [peripherals/] [tb/] [latch/] [tb_latch.s] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 sinclairrf
; Copyright 2012, Sinclair R.F., Inc.
2
;
3
; Test bench for latch peripheral.
4
 
5
.main
6
 
7
  ${3-1} :loop
8
 
9
    ; test 9-bit latch
10
    O_9LATCH outport
11
 
12
    1 .outport(O_9ADDR) .inport(I_9READ) .outport(O_TEST)
13
 
14
    ; test 24-bit latch
15
    O_24LATCH outport
16
 
17
    1 .outport(O_24ADDR) .inport(I_24READ) .outport(O_TEST)
18
    2 .outport(O_24ADDR) .inport(I_24READ) .outport(O_TEST)
19
 
20
    .jumpc(loop,1-) drop
21
 
22
  ; end of test
23
  1 .outport(O_DONE)
24
  :infinite .jump(infinite)

powered by: WebSVN 2.1.0

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