diff --git a/LICENSE b/LICENSE index a58c09e..a7ba33f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2017, Texas Tech University +Copyright (c) 2018, Texas Tech University All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/TODO b/TODO index b50ac3c..e4a56dc 100644 --- a/TODO +++ b/TODO @@ -2,13 +2,8 @@ HMC-SIM TODO LIST ------------------------------------------------------------------------------- - -- integration with SST statistics functions - - integration with Kitfox for power/thermal modeling -- NOFIX: revisit hmc register decoding: deprecated; no public spec available - - add "hmc_init_sku()" to init the sim using a defined config - decode bank to dram association @@ -25,6 +20,7 @@ HMC-SIM TODO LIST ------------------------------------------------------------------------------- Completed Items: ------------------------------------------------------------------------------- +-- integration with SST statistics functions -- add simplified api functions -- better integration with SST: DONE -- add thermal and power modeling functions: DONE diff --git a/include/hmc_sim.h b/include/hmc_sim.h index bd15ce2..bbe8b60 100644 --- a/include/hmc_sim.h +++ b/include/hmc_sim.h @@ -5,6 +5,9 @@ * * MAIN HEADER FILE * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ /*! \file hmc_sim.h diff --git a/include/hmc_sim_macros.h b/include/hmc_sim_macros.h index 7dc5a45..ace027d 100644 --- a/include/hmc_sim_macros.h +++ b/include/hmc_sim_macros.h @@ -5,6 +5,9 @@ * * MACROS HEADER FILE * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ #ifndef _HMC_SIM_MACROS_H_ diff --git a/include/hmc_sim_tecplot.h b/include/hmc_sim_tecplot.h index a1ef386..c56c746 100644 --- a/include/hmc_sim_tecplot.h +++ b/include/hmc_sim_tecplot.h @@ -3,6 +3,9 @@ * * HMC-Sim Tecplot Data Formats * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ #ifndef _HMC_SIM_TECPLOT_H_ diff --git a/include/hmc_sim_types.h b/include/hmc_sim_types.h index 5dcf1bb..d43ab0d 100644 --- a/include/hmc_sim_types.h +++ b/include/hmc_sim_types.h @@ -8,6 +8,9 @@ * WARNING: DO NOT INCLUDE THIS FILE DIRECTLY * ALWAYS INCLUDE THE TOP-LEVEL HEADER * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ #ifndef _HMC_SIM_TYPES_H_ diff --git a/src/hmc_bank_conflict.c b/src/hmc_bank_conflict.c index 3d399f2..319bfe0 100644 --- a/src/hmc_bank_conflict.c +++ b/src/hmc_bank_conflict.c @@ -1,10 +1,13 @@ -/* +/* * _HMC_BANK_CONFLICT_C_ - * - * HYBRID MEMORY CUBE SIMULATION LIBRARY - * + * + * HYBRID MEMORY CUBE SIMULATION LIBRARY + * * HMC BANK CONFLICT MODEL - * + * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_clock.c b/src/hmc_clock.c index ee4d32b..1b94ca0 100644 --- a/src/hmc_clock.c +++ b/src/hmc_clock.c @@ -5,6 +5,9 @@ * * CLOCK FUNCTIONS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_config.c b/src/hmc_config.c index 5248f2e..3f89209 100644 --- a/src/hmc_config.c +++ b/src/hmc_config.c @@ -3,6 +3,9 @@ * * Reads the HMC configuration data from a file * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ #include diff --git a/src/hmc_config_devs.c b/src/hmc_config_devs.c index 5b06a85..5f7291b 100644 --- a/src/hmc_config_devs.c +++ b/src/hmc_config_devs.c @@ -5,6 +5,9 @@ * * HMC DEVICE CONFIGURATION FUNCTIONS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_init.c b/src/hmc_init.c index 0afa970..7931538 100644 --- a/src/hmc_init.c +++ b/src/hmc_init.c @@ -5,6 +5,9 @@ * * INITIALIZATION ROUTINES * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_io.c b/src/hmc_io.c index da80856..413bd79 100644 --- a/src/hmc_io.c +++ b/src/hmc_io.c @@ -5,6 +5,9 @@ * * IO FUNCTIONS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ #include diff --git a/src/hmc_jtag.c b/src/hmc_jtag.c index c8db1f0..3ec9abd 100644 --- a/src/hmc_jtag.c +++ b/src/hmc_jtag.c @@ -5,6 +5,9 @@ * * HMC JTAG READ AND WRITE FUNCTIONS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_links.c b/src/hmc_links.c index eec083c..41e7871 100644 --- a/src/hmc_links.c +++ b/src/hmc_links.c @@ -5,6 +5,9 @@ * * HMC LINK CONFIGURATION FUNCTIONS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_mem.c b/src/hmc_mem.c index 4b3c170..15ae1a4 100644 --- a/src/hmc_mem.c +++ b/src/hmc_mem.c @@ -5,6 +5,9 @@ * * MEMORY ALLOCATION/FREE FUNCTIONS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_power.c b/src/hmc_power.c index 9fde98c..83d0bd3 100644 --- a/src/hmc_power.c +++ b/src/hmc_power.c @@ -5,6 +5,9 @@ * * POWER CALCULATION ROUTINES * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ #include diff --git a/src/hmc_process_packet.c b/src/hmc_process_packet.c index c132ad0..5346ce4 100644 --- a/src/hmc_process_packet.c +++ b/src/hmc_process_packet.c @@ -5,6 +5,9 @@ * * HMC PACKET PROCESSORS FOR MEM OPS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_recv.c b/src/hmc_recv.c index 123ae62..89faced 100644 --- a/src/hmc_recv.c +++ b/src/hmc_recv.c @@ -5,6 +5,9 @@ * * MEMORY RECV FUNCTIONS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_reset.c b/src/hmc_reset.c index e8193a8..59bfb77 100644 --- a/src/hmc_reset.c +++ b/src/hmc_reset.c @@ -1,10 +1,13 @@ -/* +/* * _HMC_RESET_C_ - * - * HYBRID MEMORY CUBE SIMULATION LIBRARY - * + * + * HYBRID MEMORY CUBE SIMULATION LIBRARY + * * HMC WARM RESET FUNCTION - * + * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ @@ -14,9 +17,9 @@ #include "hmc_sim.h" /* ----------------------------------------------------- HMCSIM_RESET_DEVICE */ -/* +/* * HMCSIM_RESET_DEVICE - * + * */ extern int hmcsim_reset_device( struct hmcsim_t *hmc, uint32_t dev ) { diff --git a/src/hmc_response.c b/src/hmc_response.c index 24368a9..bd3fdfb 100644 --- a/src/hmc_response.c +++ b/src/hmc_response.c @@ -5,6 +5,9 @@ * * MEMORY RESPONSE HANDLERS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_rqst.c b/src/hmc_rqst.c index a82d9c2..08b0c72 100644 --- a/src/hmc_rqst.c +++ b/src/hmc_rqst.c @@ -5,6 +5,9 @@ * * MEMORY REQUEST HANDLERS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_send.c b/src/hmc_send.c index 3ca13ee..4c0a6d3 100644 --- a/src/hmc_send.c +++ b/src/hmc_send.c @@ -5,6 +5,9 @@ * * MEMORY SEND FUNCTIONS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_simple.c b/src/hmc_simple.c index 50bedc9..0587ea8 100644 --- a/src/hmc_simple.c +++ b/src/hmc_simple.c @@ -3,6 +3,9 @@ * * Hybrid Memory Cube Simplified API interfaces * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ #include diff --git a/src/hmc_stat.c b/src/hmc_stat.c index 29893f2..5e4a4c1 100644 --- a/src/hmc_stat.c +++ b/src/hmc_stat.c @@ -4,6 +4,9 @@ * Implementation file for the new HMC Stat functions that * permit us to derive stats from internal HMC-Sim counters * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_tecplot.c b/src/hmc_tecplot.c index 003d5ed..81d00ce 100644 --- a/src/hmc_tecplot.c +++ b/src/hmc_tecplot.c @@ -5,6 +5,9 @@ * * TECPLOT OUTPUT FUNCTIONS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ #include diff --git a/src/hmc_trace.c b/src/hmc_trace.c index a45cd26..c7bcf80 100644 --- a/src/hmc_trace.c +++ b/src/hmc_trace.c @@ -5,6 +5,9 @@ * * HMC TRACE CONFIGURATION/EXEC FUNCTIONS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */ diff --git a/src/hmc_util.c b/src/hmc_util.c index e80a54d..e2a2858 100644 --- a/src/hmc_util.c +++ b/src/hmc_util.c @@ -5,6 +5,9 @@ * * UTILITY FUNCTIONS * + * COPYRIGHT (c) 2018 TEXAS TECH UNIVERSITY + * SEE LICENSE FOR DETAILS + * */