e-voting machine final presentation group m1 bohyun jessica kim jonathan chiang chi ho yoon donald...

38
E-Voting Machine Final Presentation • Group M1 Bohyun Jessica Kim • Jonathan Chiang Chi Ho Yoon Donald Cober • Design Manager Randal Hong Wed, Dec 3 Secure Electronic Voting Terminal

Post on 20-Dec-2015

218 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

E-Voting MachineFinal Presentation

• Group M1• Bohyun Jessica Kim

• Jonathan Chiang

• Chi Ho Yoon

• Donald Cober

• Design Manager• Randal Hong

Wed, Dec 3 Secure Electronic Voting Terminal

Page 2: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• Marketing

• Project Description

• Behavior Description

• Design Process

• Floorplan

• Schematics

• Layout

• Verification

• Issues

• Specification

• Conclusion

Presentation Outline

Page 3: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• Early days, ballots were hand-counted

• Nowadays, voting machines were invented to count votes more efficiently

• Major voting machines in market currently

• Optical Scan

• Direct Recording Electronic (DRE)

Methods of Counting Ballots

DRE MachineOptical Scan Machine

Page 4: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Optical Scan

• Scan marked paper ballots and tally the result

• Cons:

• Voting system configuration files and removable media

• Exchange blank ballot

• Expensive

Existing Systems and Falldowns

DRE (Direct Recording Electronic)

• Records votes by means of a ballot display which can be activated by the voter

• Voting data stored in a removable memory component

• In 2004, 28.9% of the registered voters in the U.S. used DRE system.

• Cons:

• Security of the DRE software

• Expensive

Page 5: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• It’s similar to DRE, but our unit does not store any information

• Data is transmitted using 32-bit encryption

• Administrator initializes machine using temporary key

• Increased speed

• Mainly it’s much cheaper!!!

Our Voting Machine

Page 6: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• $1.1 million to buy 200 optical scan voting machines at Centre County, Bellefonte, PA

• Each DRE machine costs between $2500 and $3500

• Voter-verified paper ballot printer could add as much as $1000

• Touch screen $300

• Fingerprint scanner $40

• Printer $40

• Id card reader $20

• Our chip $10

• Packaging $45

• Manufacturing $125

• Total unit price $600

Comparison

Page 7: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• 127883800 voters at 2008 Presidential Election

• Allegheny county, PA:

• 1321 polling places

• 956114 registered voters

• about 4500 voting machines

• About 159 people per machine

• For 2008 election total number of voting machines estimated: 601892

• $600 * 601892 = $361135200 = $361million

Source: Pittsburgh tribune-review

Market Size

Page 8: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• Storing votes in a central machine but not in local voting machines

• Integrated 32-bit TEA encryption

• Write-in ability

• Hard copy of vote

• Fingerprint scanner

• Simplicity

Functional Overview

Page 9: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• 8-bit Databus

• Compact design

• FSM state encoders

• Integer based TEA encryption

Key Features

Page 10: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Behavioral Algorithm

Fingerprint

Message ROM

Key SRAM

Display

COMMs

ID SRAM

User input

Choice SRAM

card Tx_check

Page 11: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• Emphasis on low cost small area

• C – Test encryption/decryption and monitored cycling of 8 cipher iterations.

• Verilog – Hardware implementation of each block in FSMs and Comms.

• Floorplan - Addition of many flexible logic blocks and buffers later significantly updated floorplan.

• Schematics – Updated as we ran the simulation and debugged timing and transistor sizing errors.

• Layout – Updated as we ran extractedRC simulation with reasonable load capacitances.

Design ProcessOverview

Page 12: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• Used C to write encryption and

decryption Feistel cycles for

Comms Block using:

• 16-bit blocks: Two 8-bit inputs• 32-bit key: Four 8-bit keys• 32 Feistel rounds = 16 cycles

• Wrote behavioral and structural Verilog to mirror functionality of C file.

Design ProcessC

Page 13: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• Verilog – Behavioral and structural implementation of major blocks in FSMs and Comms. Comms: 3 total design iterations as seen.

• All logic block changes written in Verilog first and functionally tested before migrating to schematics.

• Floorplan modified in many stages due to concurrent approach of adding small logics and re-simulating as we passed LVS.

Design ProcessVerilog

Page 14: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• Selected all standard cell parts keeping in mind low area and power objective. Used many low power flip-flops to drive FSM and Comms.

• Sized buffers for functionally correct rise/fall times and propagation delay.

• Continuously simulated and removed glitches before moving to layout.

Design ProcessSchematics

Page 15: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• Used minimum wire width sizes for M3+M4 global and databus interconnects.

• Specific M3, M4 wiring for Databus and interface

• Simulate and LVS’ed all large independent functional blocks before global routing. For smaller logic we progressively added them to full layout and passed LVS with simulation.

• Tried to maximize transistor density to achieve area and power goal.

Design ProcessLayout

Page 16: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Floorplan 1● Initial floorplan

estimates for Comms size was 4X smaller than FSMs and SRAM took half of chip real estate

● Post-Verilog

● Heavy interconnects over FSMs

● The address lines and databus need to be buffered

COMMS

FSMs

SRAMs

Page 17: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Floorplan 2● Second floorplan improved

major block size estimates. Comms & FSMs ratio 1:1, SRAM width shrunk

● Post-Schematics

● New aspect ratio 2:1

● 135 by 210

● Doubled size in COMMS Block

● The address lines and data bus are buffered

COMMS

FSMs

SRAMs

Page 18: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Floorplan 3● New aspect ratio 1:1

● 147 by 132

● Post-layout

● Increased size in COMMS

● Decrease in FSM and SRAM

● FSM connects to message ROM, selection counter, tx_check directly and SRAM via databus

● Decoupled SRAM layout to fit new layout

Key SRAM

Comms

FSMs

64 bit SRAM

User_ID SRAM Choice SRAM

Page 19: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Floorplan 3.5● Need to add key registers

and input buffer to Comms, significantly increasing the length. Flip Comms 90 degrees to accommodate new length.

Page 20: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Floorplan 4● 157 by 141

● Aspect ratio lengthened vertically slightly

● Comms flipped 90 degrees

● Addition of integrated key registers in Comms and input buffer.

KEY REGISTERS

INPUT BUFFER

Key SRAM

Random Logic

Page 21: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Final Floorplan● 157 by 141

● Aspect ratio lengthened vertically slightly.

● Databus attached to FSMs, SRAM, and Comms via horizontal M4 layer.

● Addition of random logic such as TX-check, ROM, User Input, Key SRAM, changes the floorplan next to FSMs.

SRAM

FSM

COMMS

Random Logic

Page 22: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• Flexible layout design process

• Important / Complex blocks dictate the overall layout dimensions

• Design can be adapted to significant changes in major blocks

Layout Process

COMMs

FSMs

SRAM

SRAM

SRAM

SRAM

Page 23: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• Flexible design process

• Not hindered by a stiff floorplan

• Important / Complex blocks can dictate their own dimensions

• Design adapted to significant changes in major blocks

Layout Process

COMMs

FSMs

SRAM

SRAM

SRAM

SRAM

Page 24: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

• Innovative implementation strategy:

“Just put it somewhere”

Layout Process

Page 25: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Layout - SRAMs

z

64byte / 8byte / 4byte SRAMs

Density: .70

Page 26: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Layout - COMMs

COMMs

Size: 116 x 84 um

Density: .31

Page 27: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Layout - FSMs

FSMs

Size: 38 x 52 um

Density: .55

Page 28: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Layout – etc.

Page 29: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Layout CHIP

Final Design

Size: 157 x 141 um

Density: .39

Page 30: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Verification

You could just trust us….

Page 31: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Verification

• Time constraints will not allow us to run a full chip simulation

So we need to show that our 4 main blocks:

•Logically simulate

•Interact with correct setup/hold/propagation timing

•Transmit signals with correctly buffered strength

COMMs

FSMs

SRAMs

misc

Page 32: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Logical Simulations -COMMs

Testing Encryption

FSMsmisc

COMMsSRAMs

Page 33: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Timing

FSMsmisc

COMMsSRAMs

Page 34: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Signal Strength

FSMsmisc

COMMsSRAMs

Page 35: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Verification

• Test cases overlap in key areas

• Combined results demonstrate validity

COMMs

FSMs

SRAMs

misc

Page 36: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Issues Encountered

• Buffering databus• Timing between state machines• Cadence update• Getting Spectre to work• Flip Flop glitching• Merging Cadence directories

Page 37: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

Specifications

• Area - 141 µm X 157µm- Aspect Ratio of 1 : 1.113475

• Transistor Counts- 9259

• Density- 0.418 transistors/µm2

• Inputs/Outputs- 24 inputs- 16 outputs - 16 I/O’s

Page 38: E-Voting Machine Final Presentation Group M1 Bohyun Jessica Kim Jonathan Chiang Chi Ho Yoon Donald Cober Design Manager Randal Hong Wed, Dec 3 Secure Electronic

E-voting Machine

Benefits– Low cost and maintenance– Simple and easy use– Market availability

Upcoming dates…– AMD Sponsored Presentation – Dec 3rd, 2008– Meeting of the Minds – May 9th, 2009