Sha256: 4b2705a95d5322ff24f389c32c827f282f9f9be08c7bb6d373915bf540dcb950
Contents?: true
Size: 457 Bytes
Versions: 13
Compression:
Stored size: 457 Bytes
Contents
require 'treetop' module OrigenVerilog module Preprocessor # Responsible for parsing a Verilog file to an AST class Parser < OrigenVerilog::Parser def self.node OrigenVerilog::Preprocessor::Node end def self.parser @parser ||= begin require "#{Origen.root!}/grammars/verilog" require "#{Origen.root!}/grammars/preprocessor" GrammarParser.new end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems