Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/2012-05-31' into develop
- Loading branch information
Showing
7 changed files
with
1,176 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
process (sel, s0, s1, s2, s3) | ||
begin | ||
case sel is | ||
when "00" => out <= s0; | ||
when "01" => out <= s1; | ||
when "10" => out <= s2; | ||
when others => out <= s3; | ||
end case; | ||
end process; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
always @(sel or s0 or s1 or s2 or s3) | ||
case (sel) | ||
2'b00: out <= s0; | ||
2'b01: out <= s1; | ||
2'b10: out <= s2; | ||
default: out <= s3; | ||
endcase // case (sel) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
\chapter{Asynchronous Logic} | ||
\section{Basic Gates} | ||
\section{Standard Logic} | ||
\section{Encoders} | ||
\section{Multiplexers} | ||
|
||
\lstinputlisting[language=verilog,caption=4-input Mux]{../rtl/vlog/mux4.v} | ||
\lstinputlisting[language=vhdl,caption=4-input Mux]{../rtl/vhdl/mux4.vhd} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
|
||
\documentclass[a4paper,11pt]{book} | ||
\usepackage[T1]{fontenc} | ||
\usepackage[utf8]{inputenc} | ||
\usepackage{lmodern} | ||
\usepackage{setspace} | ||
\usepackage{color} | ||
% \usepackage{xcolor} | ||
\usepackage{fancyhdr} | ||
|
||
\usepackage{listings} | ||
% \usepackage{fancyvrb} | ||
\lstset{basicstyle=\small\ttfamily,columns=fixed,numbers=right,frame=Tb} | ||
\renewcommand{\lstlistingname}{HDL} | ||
|
||
% \usepackage{caption} | ||
% \DeclareCaptionFont{white}{\color{white}} | ||
% \DeclareCaptionFormat{hdl}{\colorbox{black}{\parbox{\textwidth}{#1#2#3}}} | ||
% \captionsetup[lstlisting]{format=hdl,labelfont=white,textfont=white} | ||
|
||
% \usepackage{hyperref} | ||
% \usepackage{tocloft} | ||
|
||
\title{Physical HDL: A Graphical Approach} | ||
\author{Shawn Tan\\ \tiny{PhD(Cantab), CEng MIET}} | ||
|
||
\begin{document} | ||
|
||
\frontmatter | ||
\maketitle | ||
\tableofcontents | ||
|
||
\include{pre/preface} | ||
|
||
\mainmatter | ||
\onehalfspace | ||
|
||
\part{Designing the System} | ||
\label{PART:FASM} | ||
|
||
\chapter{Standard Flow} | ||
\section{Design Entry} | ||
\section{Functional Simulation} | ||
\section{Synthesis} | ||
\section{Functional Verification} | ||
\section{Place \& Route} | ||
\section{Timing Verification} | ||
\section{Tape Out} | ||
|
||
|
||
\chapter{My Way} | ||
\section{Top Down} | ||
\section{Bottom Up} | ||
|
||
\part{Reviewing the Language} | ||
\label{PART:HDL} | ||
\chapter[Verilog]{Verilog Hardware Description Language} | ||
\section{Data Types} | ||
\section{Data Operators} | ||
\section{Control Structures} | ||
\section{Data Structures} | ||
|
||
\chapter[VHDL]{Very High Speed Integrated Circuit Hardware Description Language} | ||
\section{Data Types} | ||
\section{Data Operators} | ||
\section{Control Structures} | ||
\section{Data Structures} | ||
|
||
\part{Connecting the Dots} | ||
\label{PART:SYS} | ||
|
||
\include{async/async} | ||
|
||
\chapter{Synchronous Logic} | ||
\section{Flip Flops} | ||
\section{Counters} | ||
\subsection{Binary} | ||
\subsection{Ring} | ||
\subsection{Gray} | ||
\section{Shift Registers} | ||
\subsection{Linear Feedback Shift Register} | ||
|
||
\chapter{Integer Arithmetic} | ||
\section{Adder} | ||
\subsection{Addition} | ||
\subsection{Subtraction} | ||
\subsection{Carry} | ||
\section{Multiplier} | ||
\section{Bit Logic} | ||
\subsection{Masking} | ||
\subsection{Set Bits} | ||
\subsection{Clear Bits} | ||
\subsection{Toggle Bits} | ||
|
||
\chapter{Finite State Machine} | ||
\section{Moore Machine} | ||
\section{Mealy Machine} | ||
|
||
\part{Simplifying the Circuit} | ||
|
||
\part{Verifying the Works} | ||
|
||
\chapter{Simulation Constructs} | ||
\chapter{Finshing Up} | ||
|
||
\backmatter | ||
% \tiny | ||
% \include{pre/fdl-1.3} | ||
|
||
\end{document} |
Oops, something went wrong.