chisel6.4.0 < Back


# Packages

-  package root
  Definition Classes
    root
-  package firrtl
  Definition Classes
    root
-  package annotations
  Definition Classes
    firrtl
-  package graph
  Definition Classes
    firrtl
-  package ir
  Definition Classes
    firrtl
-  package options
  Definition Classes
    firrtl
-  package passes
  Definition Classes
    firrtl
-  package renamemap
  Definition Classes
    firrtl
-  package stage

  The stage package provides Stage/Phase infrastructure for FIRRTL compilers:

  The stage package provides Stage/Phase infrastructure for FIRRTL compilers:

  - A number of support Phases
  - FirrtlOptions, a class representing options common to FIRRTL compilers
  - FirrtlOptionsView, a utility that constructs an OptionsView of FirrtlOptions from an AnnotationSeq
  Definition Classes
    firrtl
-  package transforms
  Definition Classes
    firrtl
-  package util
  Definition Classes
    firrtl
- AnnotationSeq
- BuildInfo
- CDefMPort
- CDefMemory
- EmittedAnnotation
- EmittedCircuit
- EmittedCircuitAnnotation
- EmittedComponent
- EmittedFirrtlCircuit
- EmittedFirrtlCircuitAnnotation
- EmittedVerilogCircuit
- EmittedVerilogCircuitAnnotation
- FileUtils
- FirrtlUserException
- MInfer
- MPortDir
- MRead
- MReadWrite
- MWrite
- Parser
- PrimOps
- RenameMap
- Utils

o

firrtl

# FileUtils

###

#### object FileUtils

Source
  FileUtils.scala

Linear Supertypes
AnyRef, Any

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. FileUtils
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
5.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
6.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
7.  def equals(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef → Any
8.  def finalize(): Unit
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.Throwable])
9.  final def getClass(): Class[_ <: AnyRef]
   Definition Classes
     AnyRef → Any
   Annotations
     @native()
10.  def getLines(file: Path): Seq[String]

    Read a text file and return it as a Seq of strings Closes the file after read to avoid dangling file handles

    Read a text file and return it as a Seq of strings Closes the file after read to avoid dangling file handles

    file

      an os.Path to be read

11.  def getLines(fileName: String): Seq[String]

    Read a text file and return it as a Seq of strings Closes the file after read to avoid dangling file handles

    Read a text file and return it as a Seq of strings Closes the file after read to avoid dangling file handles

    fileName

      The file to read

12.  def getPath(pathName: String): Path

    Get os.Path from String

    Get os.Path from String

    pathName

      an absolute or relative path string

13.  def getText(file: Path): String

    Read a text file and return it as a single string Closes the file after read to avoid dangling file handles

    Read a text file and return it as a single string Closes the file after read to avoid dangling file handles

    file

      an os.Path to be read

14.  def getText(fileName: String): String

    Read a text file and return it as a single string Closes the file after read to avoid dangling file handles

    Read a text file and return it as a single string Closes the file after read to avoid dangling file handles

    fileName

      The file to read

15.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
16.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
17.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
18.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
19.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
20.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
21.  def toString(): String
    Definition Classes
      AnyRef → Any
22.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
23.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
24.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()

### Inherited from AnyRef

### Inherited from Any

### Ungrouped