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

Subversion Repositories t48

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 94 to Rev 95
    Reverse comparison

Rev 94 → Rev 95

/trunk/sw/verif/black_box/cnt/cnt/test.asm
1,5 → 1,5
;; *******************************************************************
;; $Id: test.asm,v 1.1 2004-05-16 15:31:55 arniml Exp $
;; $Id: test.asm,v 1.2 2004-05-16 16:25:46 arniml Exp $
;;
;; Test Counter.
;; *******************************************************************
33,7 → 33,8
anl P1, #0FDH
jtf goon
jmp fail
goon: mov a, t
goon: jtf fail
mov a, t
jnz fail
 
;; apply rising edge on T1
47,6 → 48,35
dec a
jnz fail
 
;; check inactivity of counter
stop tcnt
mov a, #0FFH
mov t, a
 
;; apply rising edge on T1
orl P1, #002H
jtf fail
;; apply falling edge on T1
anl P1, #0FDH
jtf fail
;; apply rising edge on T1
orl P1, #002H
jtf fail
;; apply falling edge on T1
anl P1, #0FDH
jtf fail
 
strt cnt
;; apply rising edge on T1
orl P1, #002H
jtf fail
;; apply falling edge on T1
anl P1, #0FDH
jtf goon2
jmp fail
 
goon2:
 
pass: PASS
 
fail: FAIL

powered by: WebSVN 2.1.0

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