0% found this document useful (0 votes)
35 views3 pages

Lecture8 PDF

This document provides an overview and summary of Lecture 8 of the EECS222 course on embedded system modeling. It discusses SystemC and the Canny edge detection application that is the focus of Project Assignment 4, where students will create an SLDL model of the Canny edge detector algorithm in either SpecC or SystemC without dynamic memory allocation. It also briefly reviews Project Assignment 1 on setting up tools and fixing bugs in the original Canny edge detection C code.

Uploaded by

Frankie Liu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views3 pages

Lecture8 PDF

This document provides an overview and summary of Lecture 8 of the EECS222 course on embedded system modeling. It discusses SystemC and the Canny edge detection application that is the focus of Project Assignment 4, where students will create an SLDL model of the Canny edge detector algorithm in either SpecC or SystemC without dynamic memory allocation. It also briefly reviews Project Assignment 1 on setting up tools and fixing bugs in the original Canny edge detection C code.

Uploaded by

Frankie Liu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

EECS222: Embedded System Modeling Lecture 8

EECS 222:
Embedded System Modeling
Lecture 8

Rainer Dömer

[email protected]

The Henry Samueli School of Engineering


Electrical Engineering and Computer Science
University of California, Irvine

Lecture 8: Overview
• SystemC: From the Ground Up (Part 2)
– Excerpts from SystemC Training at DAC ‘15
– by David Black

• Project Assignment 4
– SLDL Model of the Canny Edge Detector

EECS222: Embedded System Modeling, Lecture 8 (c) 2019 R. Doemer 2

(c) 2019 R. Doemer 1


EECS222: Embedded System Modeling Lecture 8

The SystemC Language


• “SystemC: From the Ground Up”, 2nd edition
– Springer 2010
• SystemC Training Day at DAC 2015
– “The Definitive Guide to SystemC:
The SystemC Language”,
by David Black, Doulos
 Core Concepts and Syntax
 Elaboration and simulation
 Channels and interfaces
 Ports and exports
 Bus Modeling
 Master and slave interfaces
 Blocking versus non-blocking

EECS222: Embedded System Modeling, Lecture 8 (c) 2019 R. Doemer 3

EECS 222 Project


• Application Example: Canny Edge Detector
– Embedded system model for image processing:
Automatic Edge Detection in a Digital Camera

golfcart.pgm golfcart.pgm_s_0.60_l_0.30_h_0.80.pgm
– Application Source and Documentation:
• http://marathon.csee.usf.edu/edge/edge_detection.html
• http://en.wikipedia.org/wiki/Canny_edge_detector

EECS222: Embedded System Modeling, Lecture 8 (c) 2019 R. Doemer 4

(c) 2019 R. Doemer 2


EECS222: Embedded System Modeling Lecture 8

Review: Project Assignment 1


• Task: Introduction to Application Example
– Canny Edge Detector
– Algorithm for edge detection in digital images
• Steps
1. Setup your Linux programming environment
2. Download, adjust, and compile the application C code
with the GNU C compiler (gcc)
3. Study the application
4. Fix a bug and clean-up the source code
• Deliverables
– Source code and text file: canny.c, canny.txt
• Due
– Next week: January 16, 2019, 6pm

EECS222: Embedded System Modeling, Lecture 8 (c) 2019 R. Doemer 5

Project Assignment 4
• Task: SLDL Model of the Canny Edge Detector
– Convert ANSI-C source code into SLDL model
– Choose either SpecC or SystemC for simulation
• Steps
1. Prepare clean SLDL source code without compiler warnings
2. Fix configuration parameters to compile-time constants
3. Remove or replace dynamic memory allocation
 No calls to malloc(), calloc(), and free() in the model
• Deliverables
– Canny.sc or Canny.cpp (choose one!)
– Canny.txt
• Due
– Next week: February 6, 2019, 6pm

EECS222: Embedded System Modeling, Lecture 8 (c) 2019 R. Doemer 6

(c) 2019 R. Doemer 3

You might also like