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

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [example/] [i2c/] [EEPROM/] [uc/] [i2c_eeprom.9x8] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 sinclairrf
# Copyright 2012, 2014, Sinclair R.F., Inc.
2
#
3
# Run a TI TMP100 I2C Temperature sensor.  Report the temperature once per
4
# second over a 9600 baud UART as a hex value.
5
 
6
ARCHITECTURE core/9x8 Verilog
7
 
8
INSTRUCTION     2048
9
DATA_STACK      32
10
RETURN_STACK    32
11
 
12
MEMORY          RAM     ram             32
13
MEMORY          ROM     messages        128
14
 
15
PORTCOMMENT     I2C bus
16
PERIPHERAL      open_drain      inport=I_SCL \
17
                                outport=O_SCL \
18
                                iosignal=io_scl
19
PERIPHERAL      open_drain      inport=I_SDA \
20
                                outport=O_SDA \
21
                                iosignal=io_sda
22
 
23
PORTCOMMENT     UART_Tx port
24
PERIPHERAL      UART_Tx         outport=O_UART_TX \
25
                                outstatus=I_UART_TX \
26
                                baudmethod="100_000_000/115200"
27
 
28
ASSEMBLY i2c_eeprom.s

powered by: WebSVN 2.1.0

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