1 / 9

CAFE: Connection Arrays From Equations A Quick Tutorial

CAFE: Connection Arrays From Equations A Quick Tutorial. ECE 352 Prepared By Ed Brann CAFE User Manual in Course Material Packet from Bob’s Copy Shop. What is CAFE?. Boolean Logic Minimization Program Possible Relevant Inputs Boolean Functions Minterms Truth Tables

xannon
Télécharger la présentation

CAFE: Connection Arrays From Equations A Quick Tutorial

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CAFE:Connection Arrays From EquationsA Quick Tutorial ECE 352 Prepared By Ed Brann CAFE User Manual in Course Material Packet from Bob’s Copy Shop

  2. What is CAFE? • Boolean Logic Minimization Program • Possible Relevant Inputs • Boolean Functions • Minterms • Truth Tables • Cubes (Tabular or Quine-McCluskey Method) • Possible Relevant Outputs • Same as Inputs

  3. CAFE Syntax • Case Sensitivity • “ab” is different from “Ab” • Every line must end in a comma or a period. • All characters beyond the comma or period on a line are considered as comments. • Blank lines are ignored.

  4. Gate Representation

  5. Two Sections of a Typical CAFE Text File • Specification Block • Tell CAFE what you have. • Process Block • Tell CAFE what you want.

  6. Specification Block • <equation> Boolean Equations • <arrays> Cubes for Tabular Method • <minterms> Minterms • <xterms> Maxterms • <tables> Truth Tables

  7. Process Block • Consists of • CAFE Commands • Output Variables • Example: • e w ~w. • Finds equations for w and w.

  8. Command Line Syntax • At the prompt type “cafe input_file” • Output will print to screen. • If errors are found, edit input_file and correct. • To print the output to a file, type “cafe input_file > output_file”

  9. Two Examples • Example 1: minterm.txt • Given: Minterms for two functions. • Find: Equations for the two functions. • Example 2: truth.txt • Given: A boolean function. • Find: The truth table for this function.

More Related