GithubHelp home page GithubHelp logo

jonmayergoogle / pslse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibm-capi/pslse

0.0 2.0 0.0 1.3 MB

Power Service Layer Simulation Engine

Makefile 0.66% C 77.91% Verilog 5.26% C++ 14.25% Python 1.92%

pslse's Introduction

+---------------------------------------+
| Power Service Layer Simulation Engine |
+---------------------------------------+


*** ATTENTION ATTENTION ATTENTION ATTENTION ***

PSLSE now supports either the Power8 implementation of PSL or the Power9 implementation
of PSL.  This is controlled by environment variable PSLVER:

PSLVER=8 causes us to compile for the Power8 implementation
PSLVER=9 causes us to compile for the Power9 implementation

You must also pass a define into the verilog compile for top.v!

Be sure to review the QUICKSTART file for more detail.

This repository contains code for simulation and testing of a customer designed 
Accelerated Functional Unit (AFU) and it's accompanying application by
simulating the connection to the Power Service Layer (PSL) as part of IBM's
CAPI interconnect on Power8 and Power9 systems.  

The "libcxl" directory contains a simulation only version of the libcxl library 
functions for hardware provided at https://github.com/ibm-capi/libcxl.  That 
code is an abstraction layer that interfaces with kernel level "cxl" code for 
communicating with an AFU in real hardware.  The libcxl code server two purposes.  
First, it provides a simple programming interface for accessing AFU devices.  
Second, if code is written using this abstraction layer then the same code can 
be compiled with the alternate version of libcxl.c and libcxl.h found on this 
repository for co-simulation of the AFU on most industry standard Verilog 
simulators.

The "pslse" directory contains the code that models much of the cxl kernel and 
Power System hardware behavior and communicates with the users accelerator 
design running in a third party event simulator.  The hardware interface and 
functionality varies between Power8 and Power9, so there are #defines in 
common/psl_interface_t.h to control which system is being modeled.


*** DIRECTORIES ***

afu_driver/verilog:	Contains the file top.v which is a top level wrapper
			that will instantiate your AFU Verilog code.

afu_driver/src:		Contains the code that will be needed by the Verilog
			simulator.

common:			Contains code used in multiple places.

libcxl:			Contains the PSLSE version of the libcxl.c file in
			addition to a sample pslse_server.dat file.

pslse:			Contains the code for the PSLSE server.

debug:			Contains code for parsing debug.log created by pslse.

sample_app:		Contains shell code for a sample application.

pslse's People

Contributors

felixeberhardt avatar fhaverkamp avatar helenaps avatar hofstee avatar jeffreycassidy avatar jnider avatar jonmayergoogle avatar jsvogt avatar kirkmorrow avatar lancethompson avatar lsgunth avatar mbrobbel avatar umarajag avatar vanquach avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.