- Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

14
- <Phillip or Shobana> Washington University in St. Louis Apr 26, 2004 Liquid Architecture

Transcript of - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

Page 1: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

- <Phillip or Shobana> Washington University in St. Louis

Apr 26, 2004

Liquid Architecture

Page 2: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

Agenda

– Motivation– Architecture– Results– Related work– Epilogue– Demo– Thank you!

Page 3: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

Motivation

Page 4: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

Architecture – LEON Controller

Page 5: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

Design Approach

– Start with Leon Processor base• Supplies many of the components that will be

needed in the end system.– Soft-core processor– Memory controller– General I/O Drivers (for Liquid “Architecture Project”)– System/Processor Bus (AMBA)

– Develop and Integrate new features• Control SW• Modify Boot ROM• AMBA to SDRAM Controller Adapter• Control Packet routing (MP3 cpp as base)• Validation Environment (MP3 Testbench as base)

Page 6: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

Design Data• New/Modified Entities

– LEON Controller • Control LEON access to memory / Start of program

execution

– LEON Boot ROM • modified to poll a given memory address at boot up

– LEON Memory Controller• modified to interface with FPX SDRAM

• External Memory Interfaces– 1 SRAM/SDRAM Interface

• Estimated Size– Number of LUTs: 12,277 (31%) – Number of Slices: 7900 (41%)– Number of BlockRAMs: 54 (33%)– Synthesis Frequence: 30 MHz

Page 7: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

Control S/W Architecture

Java Emulator of the H/W

(for debugging)

Internet

Choose a LEON Config & upload the program to profile

Control Software

FPX

Page 8: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

Interaction with LEON

Basic steps for “User” to interface with LEON/SRAM:

1. Wait for “READY” message

2. Load Program to SRAM

3. Send LEON “START” message

4. Wait for “DATA” message

5. Read results from SRAM

Page 9: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

Control S/W web page

Page 10: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

S/W Compilation Flow

• Uses LECCS Compiler System– GCC Based

• Test PROMs used LEON compile scripts• General compile system developed uses

DOS .bat compile script– Compile w/ GCC– Assemble w/ GAS– Link w/ LD– Convert to binary w/ OBJCOPY– Convert to IP w/ Forth program

Page 11: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

Compile script

sparc-rtems-gcc test.c -S

sparc-rtems-as test.s -o test.o

sparc-rtems-ld test.o -Ttext 0x0 -Tdata 0x1000 -Tbss 0x2000

sparc-rtems-objcopy a.out -O binary a.bin

\gforth0.6.2\gforth tobin.fs > \class\leon2\input_ip.dat

Page 12: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

Results

• Statistics for LEON cache hits and misses of a benchmark application– …

• Improvement in performance of that app resulting from dynamic reconfiguration …

Page 13: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

References & Related Work

– The base Leon system http://www.gaisler.com/download.html

– Other projects that have used the Leon system

• http://www.gaisler.com/leon.html#leonlinks

Page 14: - Washington University in St. Louis Apr 26, 2004 Liquid Architecture.

EpilogueConclusion

Ongoing work

Acknowledgements• <Phillip/ Shobana>, Scott Friedman, Ben, Huakai Zhang, Dr.Cytron,

Dr.Lockwood, Dr.Chamberlain, Dr.Fritts• NSF

More info• http://www.arl.wustl.edu/arl/projects/fpx/projects/liquid_arch/index.ht

m

The Demo…